Jump to content

php sending mails to mailing list show strange headers


Recommended Posts

i need to send a mail to one mailing list address.

when i sent to this the from address comes as newsletter-request@abc.com; on behalf of; ABC[abc@abc.com]

where newsletter@abc.com is the mailing list id

abc@abc.com is the moderator id

 

when i change the to address to any other email address other than this mailing list, the from field works fine.

i have given the mailing list, in the Bcc header.

 

pls help!!!

 

your need to change the account your sending from.. thats the behalf of..account

 

auth_username=emailusername

auth_password=emailuserpassword

;And/or

pop3_username=emailusername

pop3_password=emailuserpassword

 

ini_set

no it didnt work sorry..

here is what i gave

 

ini_set("sendmail_from", $newsletterfrom);

ini_set("auth_username",$newsletterfrom);

ini_set("auth_password","aucune");

ini_set("SMTP",$server);

ini_set("smtp_port","25");

$mail_sent = @mail( $newslettertoFake, $newssubject, $newsmessage, $newsheaders)or die(mysql_error());

 

still it shows newsletter-request@abc.com; on behalf of; ABC[abc@abc.com]

please please help!! ???

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.