Email SMTP with STARTTLS

DL
Daniele Lucca
Pernix Spa

Hello,

i'm trying to configure email settings via profile for a static office 365 account.

According to Microsoft documentation, the smtp server must use STARTTLS.

In MobiControl there is only SSL or TLS and no STARTTLS option otherwise I have to manually edit each configuration.

Is there any script to send in order to force the usage of this Security Type.

I'm on MobiControl v 15.3

Thanks in advance

Daniele

4 years ago
Android
ANSWERS
J
JCMOD@SOTI
4 years ago (edited 4 years ago)
DL
Daniele Lucca
4 years ago

Hello,

according to your documentation, SMTP should be configured to use STARTTLS and that's what I can not configure with MobiControl. IMAP / POP are just fine.

Any other idea?

J
JCMOD@SOTI
4 years ago

Hi Daniele,

Can you link me to the documentation you're referencing?

Regards,

DL
Daniele Lucca
4 years ago

Sure. It's in the Microsoft documentation (see also attached screenshot)

https://support.microsoft.com/en-us/office/pop-imap-and-stmp-settings-8361e398-8af4-4e97-b147-6c6c4ac95353 

J
JCMOD@SOTI
4 years ago

Hi Daniele,

Can you clarify exactly what you're configuring with MobiControl? I'm not understanding it 100%.

Regards,

DL
Daniele Lucca
4 years ago

Hello,

i'm trying to configure email settings via android classic profile for an office 365 account. Email: IMAP Account (soti.net)

According to Microsoft documentation, SMTP encryption has to be STARTTLS, but this option is not available in MobiControl. For this reason i can not properly configure this office 365 email account to send email. POP, IMAP, and STMP settings - Office Support (microsoft.com)

The only way to make it work, as far as I know, is to manually edit the SMTP parameter directly on the device (please see the screenshot in my first post)

J
JCMOD@SOTI
4 years ago (edited 4 years ago)

Hi Daniele,

Understood, thank you for clarifying. Is there a specific reason why you need to utilize SMTP and not utilize the IMAP / POP Protocols instead? As directed by the initial reference screenshot, Office 365 supports IMAP / POP Configuration.

Regards,

DL
Daniele Lucca
4 years ago

Hello,

IMAP / POP are used to receive emails (incoming server), while SMTP is used for sending emails (outgoing server). If I don't configure SMTP i can not send emails.  

In both IMAP and POP (your screenshot) there is an incoming and an outgoing (SMTP) section that I have to configure.

The problem is that the outgoing section doesn't have STARTTLS as encryption option.

J
JCMOD@SOTI
4 years ago

Hi Daniele,

Understood, thank you for clarifying further. Have you tried setting the "Use TLS" option and observing if it works for "Outgoing Server"?

Regards,

DL
Daniele Lucca
4 years ago

Hi,

unfortunately I have tried to set TLS with no luck. :( 

Office 365 wants only STARTTLS for outgoing encryption.

J
JCMOD@SOTI
4 years ago

Hi Daniele,

I've contacted our Product Management Team to receive clarification on this issue with "Use TLS" and "STARTTLS" for SMTP Outgoing on the IMAP/POP3 Profile Configuration on Android Classic. I'll respond back in due course.

Regards,

TG
Travis G
3 years ago (edited 3 years ago)

I'll create my own post if needed, but figured I would piggyback of this post as it similar to what I am doing. What was the recommended configuration in cloud SOTI Mobicontrol to allow SMTP to work with Office 365? 

I too am using smtp.office365.com port: 587

In SOTI Mobicontrol my options are: 

* Use SSL; (Yes or No)

* Authentication Type: 

Anonymous 

Basic 

NTLM

Digest

Kerberos

negotiate