Jump to content

Having some mail issues. Unknown Sender


laflair13

Recommended Posts

When I try and send a newsletter to my subscribers,. It is showing up as Unknown Sender.

 

Here is part of the code.

 

if ($emailq = mysql_query("SELECT name,email FROM members")) {
  if (mysql_num_rows($emailq)) {  
    while(list($name,$email)=mysql_fetch_row($emailq)){

mail("$name <{$email}>",$send['subject'],$send['body'], "From: {$_SESSION['sitename']} <{$config['sitemail']}>\nReply-To: {$name} <{$config['sitemail']}>\nContent-type: text/plain\nX-Mailer: PHP/" . phpversion());

      $sent.="Sending To $name..........Sent<br />";

 

I have been at this for hrs now and just cannot seem to get it.

 

Any help would be greatly appreciated.

 

Thanks in advance

 

Link to comment
https://forums.phpfreaks.com/topic/167090-having-some-mail-issues-unknown-sender/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.