View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
14007Bug reports_ Unknownpublic2018-08-29 14:53
Reporterjansch2015 Assigned ToLouisGac 
PrioritynoneSeveritypartial_block 
Status closedResolutionno change required 
Product Version3.13.x 
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.
Bug heat2
Complete LimeSurvey version number (& build)3.14.6+180821
I will donate to the project if issue is resolvedNo
Browser
Database type & versionirrelevant
Server OS (if known)irrelevant
Webserver software & version (if known)irrelevant
PHP Version7.0

Relationships

related to 10529 closedDenisChenu Unable to send email via office365 except with hard system 

Users monitoring this issue

There are no users monitoring this issue.

Activities

LouisGac

LouisGac

2018-08-28 11:16

developer   ~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