This topic is locked

email bcc doesn't work

8/5/2019 11:11:20 AM
PHPRunner General questions
P
PaulM author

I'm on the latest build of PHPRunner (10.2 build 33460) and I can email but when I add bcc it doesn't work. The emails still send but not the bcc.
'bcc' => 'someone@bcc.com'
any help would be very gratefully received.

R
RogerN 8/5/2019

I'm using this:



$email = "mailemail@dot.com";

$cc = "copy@dot.com";

$bcc = "secretcopy@dot.com";

$arr = runner_mail(array('to' => $email, 'cc' => $cc, 'bcc' => $bcc, 'from' => $from, 'fromName' => $fromName, 'replyTo' => $replyTo, 'subject' => $subject, 'body' => $body, 'charset' => 'UTF-8'));
Sergey Kornilov admin 8/6/2019

I don't know what might be wrong but it should work. Not enough info to provide a better advise.

P
PaulM author 8/6/2019



I don't know what might be wrong but it should work. Not enough info to provide a better advise.


This is the full string but the bcc doesn't work
$ret=runner_mail(array('to' => $email, 'bcc' => 'someone@bcc.com', 'subject' => $subject, 'htmlbody' => $msg, 'from'=>$from, 'fromName'=>$fromName));
I've also tried
$bcc='someone@bcc.com';

$ret=runner_mail(array('to' => $email, 'bcc' => $bcc, 'subject' => $subject, 'htmlbody' => $msg, 'from'=>$from, 'fromName'=>$fromName));
I've tried it as a cc as well and that doesn't work. Only one email is sent/received

lefty 8/6/2019



This is the full string but the bcc doesn't work
$ret=runner_mail(array('to' => $email, 'bcc' => 'someone@bcc.com', 'subject' => $subject, 'htmlbody' => $msg, 'from'=>$from, 'fromName'=>$fromName));
I've also tried
$bcc='someone@bcc.com';

$ret=runner_mail(array('to' => $email, 'bcc' => $bcc, 'subject' => $subject, 'htmlbody' => $msg, 'from'=>$from, 'fromName'=>$fromName));
I've tried it as a cc as well and that doesn't work. Only one email is sent/received


Try
[color="#1C2837"]
[color="#1C2837"][font="arial, verdana, tahoma, sans-serif"][size="2"]in the first line.[/size]