Plugin Directory

Changeset 2914404


Ignore:
Timestamp:
05/18/2023 04:21:13 PM (3 years ago)
Author:
aftercommerce
Message:

update smtp name from mail

Location:
afterinc-app/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • afterinc-app/trunk/Custom_app.php

    r2908430 r2914404  
    44Plugin URI: https://www.afterinc.com/contact/
    55Description: Plugin allows merchants to sell After Plan’s product protection plans for wide variety of products.
    6 Version: 3.6.1
     6Version: 3.6.2
    77Author: After Inc.
    88Author URI: https://www.afterinc.com
     
    190190  add_action( 'pre_get_posts', array($this,'apply_warranty_product_filters' ));
    191191 
    192    add_action( 'phpmailer_init', array($this,'my_phpmailer_example' ));
     192   add_action( 'phpmailer_init', array($this,'my_phpmailer_afterinc' ));
    193193 
    194194   add_filter( 'cron_schedules', array($this,'example_add_cron_interval' ));
     
    27972797  }
    27982798   
    2799    function my_phpmailer_example($phpmailer ) {
     2799   function my_phpmailer_afterinc($phpmailer ) {
    28002800        $phpmailer->isSMTP();   
    28012801        $phpmailer->Host = 'email-smtp.us-east-1.amazonaws.com';
     
    28062806        $phpmailer->SMTPSecure = 'tls'; // Choose 'ssl' for SMTPS on port 465, or 'tls' for SMTP+STARTTLS on port 25 or 587
    28072807        $phpmailer->From = "noreply@quickcover.me";
     2808        $phpmailer->FromName = "QuickCover";
    28082809     }
    28092810 
  • afterinc-app/trunk/readme.txt

    r2908430 r2914404  
    77Requires PHP: 7.2
    88WC tested up to: 5.6.0
    9 Stable tag: 3.6.1
     9Stable tag: 3.6.2
    1010License: GPLv3
    1111License URI: https://www.afterinc.com
Note: See TracChangeset for help on using the changeset viewer.