Hello,
Limesurvey uses the survey administrator e-mail as the "From" field of e-mails being sent.
This causes problems: at best emails are handled as spams/phishing, and for some e-mail domains, they are simply not delivered at all.
As we understand, we haven't found a global settings parameter to replace the survey administrator e-mail in the "From" field with a unique trusted e-mail address.
For information and as a work around, the following "brute-force trick" does the job.
- edit file application/third_party/phpmailer/src/PHPMailer.php
- look for function setFrom
- comment out lines
$this->From = $address;
$this->FromName = $name;
if ($auto) {
if (empty($this->Sender)) {
$this->Sender = $address;
}
}
- replace them with
$this->From = 'your.email@your.domain';
$this->FromName = 'Your Name';
$this->Sender = 'your.email@your.domain';
using the email and name which will be trusted when sending e-mail
Clearly, this is a missing feature in Limesurvey to be able to specify globally the From and FromName fields.
Best,
alex