phpmailer发送成功但未传递

时间:2018-06-26 17:17:07

标签: phpmailer

我的PHP邮件程序在我的PC上不起作用,但在朋友上工作..这是邮件程序的代码。我在Kali Linux中尝试了它,但是没有发送邮件...我的朋友有Windows pc,我也在Windows中使用xampp使用它...我设置了环境变量c:\ xampp \ php等...

    <?php

    //Regards
    date_default_timezone_set('Asia/Jakarta');
    $date = date('F d, Y, h:i A T');

    /* W3LL SMTP SETUP */
    $smtp_acc = [
[
            "host"     => "smtp-relay.gmail.com",
    "port"     => "587",
    "username" => "email@s.com",
    "password" => "smtppass"
],
[
    "host"     => "smtp-relay.gmail.com",
    "port"     => "587",
    "username" => "email@s.com",
    "password" => "smtppass"
],
[
    "host"     => "smtp-relay.gmail.com",
    "port"     => "587",
    "username" => "email@s.com",
    "password" => "smtppass"
],

];

    /* W3LL Features SETUP */

 $W3LL_setup = [
"priority"       => 1,
"userandom"      => 0,
"sleeptime"      => 1,
"replacement"    => 1,
"filesend"       => 1,
"userremoveline" => 0,
"mail_list"      => "file/maillist/tester.txt",
"fromname"       => "from",
"frommail"       => "support@domain.com",
"subject"        => "sunject",
"msgfile"        => "file/html/1.html",
"filepdf"        => "",
"links"          => [""],
];

0 个答案:

没有答案