FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Duplicate From header, emails rejected by gmail/hotmail
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Duplicate From header, emails rejected by gmail/hotmail [message #187095 is a reply to message #187089] Fri, 18 March 2016 19:38 Go to previous message
ulrith is currently offline  ulrith   Latvia
Messages: 15
Registered: September 2015
Karma:
Junior Member
Okay I've managed how to fix that.

You need to remove the lines 138-139 from /FUDforum_home_dir/src/smtp.inc.t file:

                $this->wts('From: '. $this->from);
               	$this->wts('X-Mailer: FUDforum v'. $GLOBALS['FORUM_VERSION']);


(They cause duplication of the 'From' and 'X-Mailer' headers when using external SMTP-server.)

Then don't forget to rebuild your theme.

I've tested this fix with the inner mailer (PHP mail() function) also and everything works fine here.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: maillist.php and base64 encoded emails
Next Topic: Several bugs - willing to help with fix
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 16:57:54 GMT 2024

Total time taken to generate the page: 0.03687 seconds