SMTP with o365

Mehr
4 Monate 14 Stunden her #171184 von nagit75
nagit75 erstellte das Thema SMTP with o365
Hi,

I try to setup smtp with o365 :

host : smtp.office365.com:587
mail adress with password fine
TLS encryption

But don't work :

2018-07-12 13:04:24 CLIENT -> SERVER: QUIT
2018-07-12 13:04:24 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel

Thanks for your help.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
4 Monate 10 Stunden her #171221 von DenisChenu
DenisChenu antwortete auf das Thema: SMTP with o365
Unsure it was the issue here, but office365 didn't allow Sender != From != Smtp user.

I don't take time to make a clean plugin, but you you need to send sender == From == smtp user.

If i remind you need gitlab.com/SondagesPro/mailing/eventBeforeTokenEmailExtended to do this.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 4 Wochen her #171247 von nagit75
nagit75 antwortete auf das Thema: SMTP with o365
Thanks.

But I don't understand how to add this event.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 4 Wochen her #171250 von DenisChenu
DenisChenu antwortete auf das Thema: SMTP with o365
OK,

most simple : set all your email to the smtp user : the email for Bounce of survey, the email of admin of the survey etc …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Folgende Benutzer bedankten sich: nagit75

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 4 Wochen her #171252 von nagit75
nagit75 antwortete auf das Thema: SMTP with o365
It works !

Thank you very much !

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Monat 4 Wochen her #173805 von mbouster
mbouster antwortete auf das Thema: SMTP with o365
Hi,
Can you please advice how to set SMTP with o365. In which directory to place the files?
Also is this applicable to limesurvey 3.4?


Please advice

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Monat 4 Wochen her #173829 von nagit75
nagit75 antwortete auf das Thema: SMTP with o365
Hi,

No need to remplace file.

Go to /admin/globalsettings#email and edit parameters with same user for admin default and smtp user.
Folgende Benutzer bedankten sich: DenisChenu

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Monat 4 Wochen her #173841 von mbouster
mbouster antwortete auf das Thema: SMTP with o365
I did that.
An error again.

Error message: SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: 5.7.60 SMTP; Client does not have permissions to send as this sender [DB7PR03MB4747.eurprd03.prod.outlook.com]SMTP code: 550Error message: SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: 5.7.60 SMTP; Client does not have permissions to send as this sender [DB7PR03MB4747.eurprd03.prod.outlook.com]SMTP code: 550


Please advice.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Monat 4 Wochen her #173842 von jelo
jelo antwortete auf das Thema: SMTP with o365

mbouster schrieb: 5.7.60 SMTP; Client does not have permissions to send as this sender [DB7PR03MB4747.eurprd03.prod.outlook.com]

The account you use, is not allowed to send via SMTP. That is an right/permission problem, which is not related to LimeSurvey. Contact Microsoftsupport or check the accounts on your own. Simplest way is to create a complete new emailaccount and then check it with a an emailclient (e.g. Thunderbird) first. If SMTP,POP and IMAP are working without issues, you will have no issues with LimeSurvey too.

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Monat 4 Wochen her #173851 von mbouster
mbouster antwortete auf das Thema: SMTP with o365
I have made a research and found the solution. Thanks for your help.
There are 3 ways to authenticate user.

Currently, there’re three ways of SMTP reply in Office 365.
1. SMTP client submission
2. Direct send (cannot send to external users)
3. SMTP replay (static IP required)

Found in the below link.


answers.microsoft.com/en-us/msoffice/for...e9-86dc-e7505d233e6a

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Monat 4 Wochen her #173852 von DenisChenu
DenisChenu antwortete auf das Thema: SMTP with o365
Update TOO the emails in Survey settings : must be all the same.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 6 Tage her #175473 von Stefaan
Stefaan antwortete auf das Thema: SMTP with o365
Seems like I have followed the steps as outlined in this thread and ms article ( smtp setup with correct user and pw, tls, bounce email address, survey admin and bounce address all set to same emailaddress....)
but still get this error message

Error message: SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting <li>SMTP debug output:</li><pre>2018-10-16 06:08:03 SMTP ERROR: Failed to connect to server: Connection refused (111) 2018-10-16 06:08:03 SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting </pre>

My limesurvey instance is hosted at godaddy (cpanel linux).

Anyone any suggestions?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 6 Tage her #175474 von DenisChenu
DenisChenu antwortete auf das Thema: SMTP with o365
Not the good error. When you connect to office365 with some bad value : you have an authentification issue, not a connect issue.

Here : surely something with your hoster : can conect to external web address.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 3 Tage her #175619 von Stefaan
Stefaan antwortete auf das Thema: SMTP with o365
thank you - I'll do some digging there

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha