Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Azure VM SMTP office365 mail issue

  • diegoddox
  • diegoddox's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #137987 by diegoddox
Azure VM SMTP office365 mail issue was created by diegoddox
I don't know how to resolve this issue.

I have a Azure VM with a limesurvey installed and I'm trying to
connect the SMTP to office365 and is not working, I've try gmail as well but nothing!
The topic has been locked.
More
7 years 10 months ago - 7 years 10 months ago #137988 by jelo
Replied by jelo on topic Azure VM SMTP office365 mail issue
Post your SMTP settings for Office 365 and Gmail.
Don't post password or the compete username/email after the @.
What plan do you use with Office 365?

First guess: TLS/SSL encryption not activated.
Second guess: Office 365 SMTP Settings can be tricky. Depends on plan. There are different ways and sometimes the feature is not available.
support.office.com/en-us/article/POP-and...bc-8153-8e7113525f6c

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 7 years 10 months ago by jelo.
The following user(s) said Thank You: diegoddox
The topic has been locked.
  • diegoddox
  • diegoddox's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #137991 by diegoddox
Replied by diegoddox on topic Azure VM SMTP office365 mail issue
With Office365
SMTP host: smtp.office365.com:587
username: username@companyname.se
password: *************

my plan is Office 365 Business Premium.

With gmail

SMTP host: smtp.gmail.com:465
username: username@gmail.com
password: *************

Thanks I will check a look on how to enable "TLS/SSL encryption" om a azure VM!
The topic has been locked.
More
7 years 10 months ago #137994 by jelo
Replied by jelo on topic Azure VM SMTP office365 mail issue

diegoddox wrote: Thanks I will check a look on how to enable "TLS/SSL encryption" om a azure VM!

I was talking about the SMTP settings in Limesurvey.

I am not used to Azure VM. But depending how Limesurvey is hosted (from plain VM where you install the OS to Apphosting, where OS and PHP-Stack is provided) a block on outgoing SMTP connection might be actived as well.

You can activate the debugging in Limesurvey.
manual.limesurvey.org/index.php?title=Op...opment_and_debugging
The SMTP settings are explained as well. A few lines below the debugging mode.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: diegoddox
The topic has been locked.
  • diegoddox
  • diegoddox's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #137995 by diegoddox
Replied by diegoddox on topic Azure VM SMTP office365 mail issue
I know that you was talking about the settings in Limesurvey, I just don't know how to enable ssl/tls.
Thanks again!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago #138015 by DenisChenu
Replied by DenisChenu on topic Azure VM SMTP office365 mail issue
Hi,

With office360 : you need to have
smtp username === From parameters === Return path parameters

Then set all email to the one of the smtp setting.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: diegoddox
The topic has been locked.
More
7 years 10 months ago #138047 by jelo
Replied by jelo on topic Azure VM SMTP office365 mail issue

diegoddox wrote: I know that you was talking about the settings in Limesurvey, I just don't know how to enable ssl/tls.

Go to the global settings of Limesurvey. There you find a tab with Emailsettings.
You'll find a setting called "SMTP SSL/TLS". You can set this to 'SSL' or 'TLS' to use SSL/TLS for your SMTP connection.
manual.limesurvey.org/Global_settings#Email_settings

What Version Build of Limesurvey is currently used?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose