Home

Exchange Online - Mail User - without license and how to send email / SMTP access

%3CLINGO-SUB%20id%3D%22lingo-sub-38904%22%20slang%3D%22en-US%22%3EExchange%20Online%20-%20Mail%20User%20-%20without%20license%20and%20how%20to%20send%20email%20%2F%20SMTP%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-38904%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3Etenant%20has%20E3%20subscription%20and%20uses%20Exchange%20Online.%3CBR%20%2F%3EWe%20want%20to%20create%20external%20%22mail%20contact%22%20who%20can%20send%20emails%20through%20SMTP.%20So%20we%20created%20Exchange%20Online%20%26gt%3B%20Mail%20user.%3C%2FP%3E%3CP%3EUser%20can%20normally%20login%20on%20%3CA%20href%3D%22https%3A%2F%2Fportal.office.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.office.com%3C%2FA%3E%20%2C%20and%20it%20does%20not%20have%20mailbox%20or%20any%20other%20O365%20application.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EThe%20problem%20is%20that%20user%20does%20not%20see%20its%20SMTP%20settings%20and%20does%20not%20know%20how%20to%20send%20emails.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EWhen%20trying%20to%20login%20to%20smtp.office365.com%20%2F%20587%20%2F%20TLS%2C%20%3CSTRONG%3Euser%20login%20is%20rejected.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20should%20%22mail%20user%22%20send%20emails%20%3F%20Is%20SMTP%20supported%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-38904%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOutlook%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-154850%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20-%20Mail%20User%20-%20without%20license%20and%20how%20to%20send%20email%20%2F%20SMTP%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-154850%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20you%20are%20right%20again%2C%20cname%20has%20indeed%20drawback%20that%20the%20certificate%20does%20not%20match%20the%26nbsp%3Bname.%20I've%20chosen%20nonetheless%20for%20cname%20to%20make%20it%20easier%20to%20switch.%20TLS%20is%20not%20so%20strict%20currently%20in%20our%20nodes.%20But%20it%20is%20indeed%20not%20the%20right%20approach%20for%20optimal%20security.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-154847%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20-%20Mail%20User%20-%20without%20license%20and%20how%20to%20send%20email%20%2F%20SMTP%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-154847%22%20slang%3D%22en-US%22%3E%3CP%3Ecname%20is%20not%20ok%2C%20because%20of%20server%20certificates%20%2F%20ssl%20%2F%20tls...%2C%20so%20better%20use%20original%20server%20name.%3C%2FP%3E%0A%3CP%3EAlso%2C%20if%20you%20have%20dynamic%20public%20ip%20address%2C%20then%20this%20method%20is%20not%20possible.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20is%20better%20that%20Exchange%20team%20implement%20new%20functionality%2C%20something%20like%20Exchange%20Online%20-%20Application%20user%2C%20which%20will%20have%20username%2Fpassword%20for%20SMTP%20submission%2C%20and%20will%20not%20require%20a%20license.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-154836%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20-%20Mail%20User%20-%20without%20license%20and%20how%20to%20send%20email%20%2F%20SMTP%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-154836%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20that%20one%20works%20best.%20We%20use%20it%20with%20cname%20on%20smtp.COMPANY.TLD.%20The%20connectors%20are%20somewhat%20restricted%20compared%20to%26nbsp%3BExchange%20on-premise.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-154832%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20-%20Mail%20User%20-%20without%20license%20and%20how%20to%20send%20email%20%2F%20SMTP%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-154832%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20best%20way%20is%20to%20yuse%20method%203%20on%20the%20following%20article.%20%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FHow-to-set-up-a-multifunction-device-or-application-to-send-email-using-Office-365-69f58e99-c550-4274-ad18-c805d654b4c4%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%26amp%3BfromAR%3D1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FHow-to-set-up-a-multifunction-device-or-application-to-send-email-using-Office-365-69f58e99-c550-4274-ad18-c805d654b4c4%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%26amp%3BfromAR%3D1%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EFor%20this%20kind%20of%20scenarios%20is%20what%20is%20best%20to%20implement%20and%20it's%20configured%20in%20several%20customers.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-154826%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20-%20Mail%20User%20-%20without%20license%20and%20how%20to%20send%20email%20%2F%20SMTP%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-154826%22%20slang%3D%22en-US%22%3E%3CP%3ESame%20problem%20here.%20We%20have%20a%20long%20list%20of%20service%20users%20in%20our%20on-premise%20environment%2C%20one%20per%20%22service%22%20such%20as%20Synology%201%2C%20Synology%202%2C%20Temperature%20sensor%2C%20Oracle%20RDBMS%201%2C%20etc.%20Their%20credentials%20are%20used%20to%20send%20email%20with%20authentication.%20For%20internal%20mail%20on%20Office%20365%20that%20should%20not%20be%20a%20problem.%20But%20when%20you%20want%20to%20relay%20outside%2C%26nbsp%3BI%20will%20need%20to%20configure%20some%20other%20form%20of%20authentication%20like%20IP-address.%3C%2FP%3E%0A%3CP%3EI%20agree%20with%20Hrvoje%20Kusulja%20that%20this%20is%20a%20functional%20change%20between%20on-premise%20Exchange%20and%20cloud.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-38981%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20-%20Mail%20User%20-%20without%20license%20and%20how%20to%20send%20email%20%2F%20SMTP%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-38981%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20send%20email%20from%20%22Mail%20User%22%20entity.%20Not%20Full%20%2F%20Licenses%20Office%20365%20user%20with%20mailbox.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fbb124381%2528v%3Dexchg.150%2529.aspx%3Ff%3D255%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fbb124381%2528v%3Dexchg.150%2529.aspx%3Ff%3D255%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-38957%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20-%20Mail%20User%20-%20without%20license%20and%20how%20to%20send%20email%20%2F%20SMTP%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-38957%22%20slang%3D%22en-US%22%3EIt's%20not%20exactly%20clear%20to%20me%20what%20you%20want%20to%20achieve%2C%20but%20if%20you%20want%20to%20perform%20smtp%20client%20submission%20(I%20came%20to%20this%20conclusion%20because%20you%20mentioned%20smtp.office365.com)%2C%20then%20you%20need%20to%20have%20a%20mailbox%20in%20Office%20365.%3CBR%20%2F%3E%3CBR%20%2F%3ECheck%20this%20article%2C%20maybe%20you%20find%20an%20explanation%20there%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FHow-to-set-up-a-multifunction-device-or-application-to-send-email-using-Office-365-69f58e99-c550-4274-ad18-c805d654b4c4%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%26amp%3BfromAR%3D1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2FHow-to-set-up-a-multifunction-device-or-application-to-send-email-using-Office-365-69f58e99-c550-4274-ad18-c805d654b4c4%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%26amp%3BfromAR%3D1%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-38950%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20-%20Mail%20User%20-%20without%20license%20and%20how%20to%20send%20email%20%2F%20SMTP%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-38950%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EIn%26nbsp%3BExchange%20Server%20(on-premise)%20Mail%20User%20feature%20is%20a%20free%20one%20and%20does%20not%20require%20additional%20license%20%2F%20CAL.%3C%2FP%3E%3CP%3EIn%20Exchange%20Online%20I%20did%20not%20find%20any%20documentation%20%2F%20blog%20%2F%20explanation%20or%20limitation%20that%20Mail%20users%20needs%20to%20be%20licensed%20to%20be%20able%20do%20to%20some%20things.%3C%2FP%3E%3CP%3EThe%20whole%20point%20of%20%22Mail%20contact%22%20which%20became%20%22Mail%20user%22%20is%20to%20be%20able%20send%20emails.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%2C%20when%20I%20assign%20a%20Exchange%20license%20to%20%22Mail%20user%22%20%2C%20then%20it%20does%20not%20get%20mailbox%2C%20but%20it%20is%20also%20removed%20from%20Contacts%20list%20forever%20and%20is%20not%20visible%20in%20Exchange%20cmdlets%20anymore.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20offical%20reference%20for%20your%20answer%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%2C%3C%2FP%3E%3CP%3EKind%20regards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-38945%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20-%20Mail%20User%20-%20without%20license%20and%20how%20to%20send%20email%20%2F%20SMTP%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-38945%22%20slang%3D%22en-US%22%3EThat%20user%20can't%20send%20emails%20in%20this%20configuration.%20He%20has%20to%20have%20a%20mailbox%20in%20Office%20365%20to%20be%20able%20to%20send%20emails.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-643956%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20-%20Mail%20User%20-%20without%20license%20and%20how%20to%20send%20email%20%2F%20SMTP%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-643956%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20is%20possible%20to%20send%20for%20free%2C%20through%20Azure%20AD%20App%20and%20using%20Microsoft%20Graph%20API%20...%3C%2FP%3E%3C%2FLINGO-BODY%3E
Hrvoje Kusulja
MVP

Hi,

tenant has E3 subscription and uses Exchange Online.
We want to create external "mail contact" who can send emails through SMTP. So we created Exchange Online > Mail user.

User can normally login on https://portal.office.com , and it does not have mailbox or any other O365 application.

 

The problem is that user does not see its SMTP settings and does not know how to send emails.

When trying to login to smtp.office365.com / 587 / TLS, user login is rejected.

 

How should "mail user" send emails ? Is SMTP supported?

 

Thank you

10 Replies
That user can't send emails in this configuration. He has to have a mailbox in Office 365 to be able to send emails.

Hi,

In Exchange Server (on-premise) Mail User feature is a free one and does not require additional license / CAL.

In Exchange Online I did not find any documentation / blog / explanation or limitation that Mail users needs to be licensed to be able do to some things.

The whole point of "Mail contact" which became "Mail user" is to be able send emails.

 

Also, when I assign a Exchange license to "Mail user" , then it does not get mailbox, but it is also removed from Contacts list forever and is not visible in Exchange cmdlets anymore.

 

Any offical reference for your answer?

 

Thank you,

Kind regards

It's not exactly clear to me what you want to achieve, but if you want to perform smtp client submission (I came to this conclusion because you mentioned smtp.office365.com), then you need to have a mailbox in Office 365.

Check this article, maybe you find an explanation there:
https://support.office.com/en-us/article/How-to-set-up-a-multifunction-device-or-application-to-send...

I am trying to send email from "Mail User" entity. Not Full / Licenses Office 365 user with mailbox.

https://technet.microsoft.com/en-us/library/bb124381%28v=exchg.150%29.aspx?f=255

 

Same problem here. We have a long list of service users in our on-premise environment, one per "service" such as Synology 1, Synology 2, Temperature sensor, Oracle RDBMS 1, etc. Their credentials are used to send email with authentication. For internal mail on Office 365 that should not be a problem. But when you want to relay outside, I will need to configure some other form of authentication like IP-address.

I agree with Hrvoje Kusulja that this is a functional change between on-premise Exchange and cloud.

The best way is to yuse method 3 on the following article. https://support.office.com/en-us/article/How-to-set-up-a-multifunction-device-or-application-to-send...

For this kind of scenarios is what is best to implement and it's configured in several customers.

 

 

Yes, that one works best. We use it with cname on smtp.COMPANY.TLD. The connectors are somewhat restricted compared to Exchange on-premise.

cname is not ok, because of server certificates / ssl / tls..., so better use original server name.

Also, if you have dynamic public ip address, then this method is not possible.

 

It is better that Exchange team implement new functionality, something like Exchange Online - Application user, which will have username/password for SMTP submission, and will not require a license.

Yes, you are right again, cname has indeed drawback that the certificate does not match the name. I've chosen nonetheless for cname to make it easier to switch. TLS is not so strict currently in our nodes. But it is indeed not the right approach for optimal security.

 

It is possible to send for free, through Azure AD App and using Microsoft Graph API ...