Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Email issue in company network

Email issue in company network 2 years 3 months ago #112079

  • Andre_DE
  • Andre_DE's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
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
The administrator has disabled public write access.
Time to create page: 0.267 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form