• Resolved wpbetsy

    (@wpbetsy)


    I found that the system email sent out shows the hosting information as the sender name. Can you please make it shows the sender name as set at admin panel instead of the hosting information?

    The reason for the error is you are sending the mail with the php mailer, in that you have to authenticate the mail address credentials. For eg:

    //Create a new PHPMailer instance
    $mail = new PHPMailer;
    //Tell PHPMailer to use SMTP
    $mail->isSMTP();
    //Enable SMTP debugging
    // 0 = off (for production use)
    // 1 = client messages
    // 2 = client and server messages
    $mail->SMTPDebug = 2;
    //Set the hostname of the mail server
    $mail->Host = ‘mail.example.com’;
    //Set the SMTP port number – likely to be 25, 465 or 587
    $mail->Port = 25;
    //Whether to use SMTP authentication
    $mail->SMTPAuth = true;
    //Username to use for SMTP authentication
    $mail->Username = ‘[email protected]’; >>>>>>>>>>>>PLEASE LOOK INTO THIS
    //Password to use for SMTP authentication
    $mail->Password = ‘yourpassword’; .>>>>>>>>>>>>>>>>>>>>>>.
    //Set who the message is to be sent from
    $mail->setFrom(‘[email protected]’, ‘First Last’);
    //Set an alternative reply-to address
    $mail->addReplyTo(‘[email protected]’, ‘First Last’);
    //Set who the message is to be sent to
    $mail->addAddress(‘[email protected]’, ‘John Doe’);
    //Set the subject line
    $mail->Subject = ‘PHPMailer SMTP test’;

    if you are not validate, the mail will send from @hostnameof server
    So please update the script accordingto it. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Hi,

    WCfM all emails are sending out WP default email function “wp_email”.

    Though WCfM has a setting to set from email name and address at WCfM admin setting -> Email From

    Between, are you using any third party email sender plugin like SMTP?
    If so then please check it’s setting.

    One more thing, how you are getting other emails, specially WC default emails?

    Thank You

    Thread Starter wpbetsy

    (@wpbetsy)

    Yes, I have set the site’s name at Email From but it still shows the hosting company as the sender.

    No, I am not setting any SMTP.

    Other WC emails shows our email address and our site’s name as sender name.

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    Are you using the same email address for WC Emails and WCfM Emails?

    If so then just leave empty WCfM email setting and it will automatically use WC email settings.

    Thank You

    Thread Starter wpbetsy

    (@wpbetsy)

    It’s just the same. Can’t fix the problem.

    Can your plugin make it from your side?

    Plugin Author WC Lovers

    (@wclovers)

    That’s really strange!
    WCfM emails are same as WC emails. Then how separate header you are getting?

    I am checking this once again.

    Thank You

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    I have checked and it’s working perfectly our environment.

    Did you talked to your hosting about mail server configuration?

    THank You

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘system email’ is closed to new replies.