Relationship Graph View Issue Dependency Graph
related to child of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
14007Bug reports[All Projects] _ Unknownpublic2018-08-29 14:53
Reporterjansch2015 Assigned ToLouisGac  
PrioritynoneSeveritymajor 
Status closedResolutionno change required 
Product Version3.13.x 
Target VersionFixed in Version 
Summary14007: Bug in Mailing-Function when using SMTP
Description

I have set up an SMTP-Account over Office365 in the Global Settings. It did not work. After debugging, I found out that Office365 refuses to send the mail because the user is not authorized to send from another "from"-address other than his own (obviously).
Based on the discussion here: https://github.com/PHPMailer/PHPMailer/issues/1250 for PHPMailer, the setting $mail->Sender should not be set by default.
After changeing the corresponding line at application / helpers / common_helper.php on line 2281 from
$mail->Sender = $senderemail;
to
$mail->Sender = $fromemail;
or completely removing it, everything worked as expected.
$senderemail contained my own email-address, $fromemail contains the address set in Global Settings.

For me, this change worked.
For you, I would advise that you check which way you want to have it solved.

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.14.6+180821
I will donate to the project if issue is resolvedNo
Browser
Database & DB-Versionirrelevant
Server OS (if known)irrelevant
Webserver software & version (if known)irrelevant
PHP Version7.0

Activities

LouisGac

LouisGac

2018-08-28 11:16

manager   ~48886

please, don't use another "from"-address than the office one.

Issue History

Date Modified Username Field Change
2018-08-24 22:50 jansch2015 New Issue
2018-08-28 11:16 LouisGac Assigned To => LouisGac
2018-08-28 11:16 LouisGac Status new => closed
2018-08-28 11:16 LouisGac Resolution open => no change required
2018-08-28 11:16 LouisGac Note Added: 48886
2018-08-29 14:53 DenisChenu Relationship added related to 10529