PHP SMTP BCC, geçiyor değil

0 Cevap php

Recipients named in the BCC/CC (in the headers) are not received. I've found a couple of posts with similar questions, no answers...

Kod soru, aşağıda: "İçinizde benzer sorunlar vardı Var"

require_once "Mail.php";

$host = "mail.mailserver.com";
$username = "notification@yourhost.com";
$password = "getyourownpassword";

$headers = array ('From' => "User Name <$username>",
                  'To' => $to_,
                  'Cc' => 'Patty <patty@gmail.com>',
                  'Subject' => $subj_,
                  'Content-type' => 'text/html');

$smtp = Mail::factory('smtp',
                      array ('host' => $host,
                             'auth' => true,
                             'username' => $username,
                             'password' => $password));

$mail = $smtp->send($to_, $headers, $mail_msg);

0 Cevap