Email issue in company network

4 years 9 months ago #112079 by Andre_DE
Hi everybody!

I am facing some issues with the mail function for invitations since Yii was introduced. Emails sent are not delivered within the company but I can send mails to my external address.

Testing the PHP installation both with HTML and plain-text mail() succeeded, so there is no general rejection of mails from this server.
$header  = "MIME-Version: 1.0\r\n";
$header .= "Content-type: text/html; charset=iso-8859-1\r\n";
$header .= "From: $sender\r\n";
$header .= "Reply-To: $responseTo\r\n";
$header .= "X-Mailer: PHP ". phpversion();

So I assume there must be something suspicious with the headers limesurvey uses, making the company server block the messages.
Removing the custom header from controllers/admin/token.php did not help.
Any ideas?

Current version:
Version 2.05+ Build 140821

Mail settings tested:
PHP, Sendmail

Thank you very much,

Version 2.05+ Build 150310

Please Log in or Create an account to join the conversation.

LimeSurvey Partners

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!