Jump to content

email campaign error


coltrane

Recommended Posts

I have email campaign script almost working except for one thing. When the email arrives, it says: "From ABC@CGI13

 

My simple code is:

 

$Emailfrom = "ABC";

 

Mail( blah blah  'From:' . $Emailfrom);

 

I don't want @CGI13 tacked onto the end.

 

Also , anyway to keep email from ending up in everyones spam folder?

Thanks

Link to comment
https://forums.phpfreaks.com/topic/172147-email-campaign-error/
Share on other sites

I think you can set "sendmail_from" in php.ini to the full string. I don't know if that will work though. I think most email clients put the domain at the end if the address isn't in the user's address book.

 

Otherwise, you could use fsockopen() to send the raw data to the mail server. Doing that you can spoof it to whatever you want.

Link to comment
https://forums.phpfreaks.com/topic/172147-email-campaign-error/#findComment-907783
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.