This is the header of the email I am trying to send. My 'ReplyTo' is
not working as planed/
I tried googling thsi and did not get a good answer. I examed the code
before, as suggested and tried the example below. No joy
require("class.phpmailer.php");
$mail = new PHPMailer();
$mail->IsSMTP(); // telling the class to use SMTP
$mail->Host = "smtp.xxxxxxxx.com"; // SMTP server
$mail->Username = "da*********@xxxxxxxx.com";
$mail->Password = "ironnail";
$mail->FromName = "Dave Lemke <dl****@xxxxxxxx.net>";
$mail->From = "Dave Lemke <dl****@xxxxxxxx.net>";
Line 34 $mail->ReplyTo = "dl****@xxxxxxxx.net hc******@goodloops.com
ag*******@hotmail.com da*********@xxxxxxxx.com";
$mail->Cc = "da*********@xxxxxxxx.com";
$mail->Sender = "ag*******@xxxxxxxx.com";
$mail->ReturnReceiptTo = "da*********@xxxxxxxx.com";
$mail->AddAddress(" {$_SERVER['argv'][1]}");
$mail->ReplyTo = "dl****@xxxxxxxx.net", "cr*****@gosodloops.com", "
ag*******@hotmail.com", " da*********@xxxxxxxx.com";
Gives me this error:
Parse error: parse error, unexpected ',' in /root/tffwebsite/
membershipmailer/mailsender.php on line 34
$mail->ReplyTo = "dl****@xxxxxxxx.net" " hc******@goodloops.com"
"ag*******@hotmail.com" "da*********@xxxxxxxx.com";
Gives me this error:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /
root/tffwebsite/membershipmailer/mailsender.php on line34
$mail->ReplyTo = 'dl****@xxxxxxxx.net' 'hc******@goodloops.com' '
ag*******@hotmail.com' ' da*********@xxxxxxxx.com";
Gives me this error:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /
root/tffwebsite/membershipmailer/mailsender.php on line34
Earlier this morning I tried several 'Cc' but that did not work. Don't
right now remember if it just did not work or if I got an error.
I can get everything to work if I only use one name at a time. But I
have 320 people to send this Message to and I want all replies to go
to 3 different people and myself.
My brain hurts. Can someone hit me on the head again.
TIA
Dave