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 = "daveekelly1@xx xxxxxx.com";
$mail->Password = "ironnail";
$mail->FromName = "Dave Lemke <dlemke@xxxxxxx x.net>";
$mail->From = "Dave Lemke <dlemke@xxxxxxx x.net>";
Line 34 $mail->ReplyTo = "dlemke@xxxxxxx x.net hcrofton@goodlo ops.com
aged_sage@hotma il.com daveekelly1@xxx xxxxx.com";
$mail->Cc = "daveekelly1@xx xxxxxx.com";
$mail->Sender = "aged_sage@xxxx xxxx.com";
$mail->ReturnReceiptT o = "daveekelly1@xx xxxxxx.com";
$mail->AddAddress(" {$_SERVER['argv'][1]}");
$mail->ReplyTo = "dlemke@xxxxxxx x.net", "crofton@gosodl oops.com", "
aged_sage@hotma il.com", " daveekelly1@xxx xxxxx.com";
Gives me this error:
Parse error: parse error, unexpected ',' in /root/tffwebsite/
membershipmaile r/mailsender.php on line 34
$mail->ReplyTo = "dlemke@xxxxxxx x.net" " hcrofton@goodlo ops.com"
"aged_sage@hotm ail.com" "daveekelly1@xx xxxxxx.com";
Gives me this error:
Parse error: parse error, unexpected T_CONSTANT_ENCA PSED_STRING in /
root/tffwebsite/membershipmaile r/mailsender.php on line34
$mail->ReplyTo = 'dlemke@xxxxxxx x.net' 'hcrofton@goodl oops.com' '
aged_sage@hotma il.com' ' daveekelly1@xxx xxxxx.com";
Gives me this error:
Parse error: parse error, unexpected T_CONSTANT_ENCA PSED_STRING in /
root/tffwebsite/membershipmaile r/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
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 = "daveekelly1@xx xxxxxx.com";
$mail->Password = "ironnail";
$mail->FromName = "Dave Lemke <dlemke@xxxxxxx x.net>";
$mail->From = "Dave Lemke <dlemke@xxxxxxx x.net>";
Line 34 $mail->ReplyTo = "dlemke@xxxxxxx x.net hcrofton@goodlo ops.com
aged_sage@hotma il.com daveekelly1@xxx xxxxx.com";
$mail->Cc = "daveekelly1@xx xxxxxx.com";
$mail->Sender = "aged_sage@xxxx xxxx.com";
$mail->ReturnReceiptT o = "daveekelly1@xx xxxxxx.com";
$mail->AddAddress(" {$_SERVER['argv'][1]}");
$mail->ReplyTo = "dlemke@xxxxxxx x.net", "crofton@gosodl oops.com", "
aged_sage@hotma il.com", " daveekelly1@xxx xxxxx.com";
Gives me this error:
Parse error: parse error, unexpected ',' in /root/tffwebsite/
membershipmaile r/mailsender.php on line 34
$mail->ReplyTo = "dlemke@xxxxxxx x.net" " hcrofton@goodlo ops.com"
"aged_sage@hotm ail.com" "daveekelly1@xx xxxxxx.com";
Gives me this error:
Parse error: parse error, unexpected T_CONSTANT_ENCA PSED_STRING in /
root/tffwebsite/membershipmaile r/mailsender.php on line34
$mail->ReplyTo = 'dlemke@xxxxxxx x.net' 'hcrofton@goodl oops.com' '
aged_sage@hotma il.com' ' daveekelly1@xxx xxxxx.com";
Gives me this error:
Parse error: parse error, unexpected T_CONSTANT_ENCA PSED_STRING in /
root/tffwebsite/membershipmaile r/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
Comment