Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Email issue in company network

  • Andre_DE
  • Andre_DE's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #112079 by Andre_DE
Email issue in company network was created 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.
Code:
$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,
André

Version 2.05+ Build 150310
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose