Home

Audit and log metods for smtp.office365.com

%3CLINGO-SUB%20id%3D%22lingo-sub-356784%22%20slang%3D%22en-US%22%3EAudit%20and%20log%20metods%20for%20smtp.office365.com%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-356784%22%20slang%3D%22en-US%22%3E%3CP%3EHello!%3C%2FP%3E%3CP%3EI%20an%20experiencing%20some%20troubles%20in%20applications%20that%20authenticate%20with%20Office%20365%20licence%20account%C2%B4s%20via%20SMTP%20for%20sending%20emails.%20Sometimes%20I%20dont%20now%20if%20I%20am%20reaching%20the%20limit%20(messages%20per%20minute%2C%20authentications%20per%20minute%2C%20something%20like%20that)%2C%20or%20I%20am%20having%20some%20other%20trouble.%3CBR%20%2F%3EThe%20administration%20tab%20on%20my%20office%20365%20administration%20account%20and%20Securaty%20and%20Complience%2C%20had%20give%20me%20some%20idea%2C%20of%20what%20is%20going%20on%2C%20but%20some%20times%20I%20can%20not%20understand%20the%20shurt%20log%C2%B4s%20or%20lack%20of%20more%20messages.%20The%20authentication%20is%20sucessfull%2C%20but%20sometimes%20give%20me%20timeout%2C%20for%20some%20reason%2C%20or%20other%20errors.%3CBR%20%2F%3EI%20was%20hoping%20to%20get%20log%C2%B4s%20as%20if%20I%20had%20my%20own%20SMTP%20server%2C%26nbsp%3B%3CSPAN%3Emore%20detailed%2C%20and%20just%20from%20authentications%20in%20smtp.office365.com%20or%20outlook.office365.com%2C%20and%20for%20the%20rest%20(Outlook%2C%20OWA).%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20am%20going%20to%20put%20I%20sniffer%20on%20the%20communication%2C%20that%20combined%20with%20my%20application%20log%20to%20have%20more%20detail%20on%20that%20is%20going%20on.%20But%20see%20%22the%20things%22%20from%20Office%20365%20side%20it%20will%20be%20good.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EI%20can%20see%20all%20the%20boundaries%20of%20the%20different%20types%20of%26nbsp%3B%3CSPAN%3Elicensing%3F%20Is%20any%20way%20to%20do%20that%20I%20descrive%20with%20any%20tool%20or%20addon%20or%20something%20like%20that%3F%20Any%20opinions%20or%20solutions%2C%26nbsp%3Bhave%20anyone%20had%20similar%20problems%20and%20can%20help%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20rewards%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-356784%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-358339%22%20slang%3D%22en-US%22%3ERe%3A%20Audit%20and%20log%20metods%20for%20smtp.office365.com%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-358339%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20my%20a%20case%20the%20are%20a%20application%20that%20process%20several%20claim%20check%C2%B4s%20and%20PDF%60s%2C%20sending%20email%20for%20each%20one%20using%20library%20and%20object%C2%B4s%20functions.%20Normaly%20is%20used%20the%20SMTP%20server%20of%20the%20client%2C%20account%20exclusive%20created%20for%20this%20purpose%2C%20and%20some%20of%20them%20have%20Office365%20licencing.%3CBR%20%2F%3EIn%20the%20application%2C%20in%20some%20processing%2C%20can%20be%20send%20300%2F400%20email%C2%B4s%20for%20diferent%20accounts%20in%20minutes.%26nbsp%3B%3CBR%20%2F%3E%3CSPAN%3EIt's%20difficult%20sometimes%20to%20use%20other%20thing.%20The%20client%20already%20pay%C2%B4s%20for%20the%20licenses%20that%20they%20have.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI'm%20going%20to%20invest%20the%20solutions%20mentioned.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EControle%20time%20and%20know%20limits%20with%20more%20details%20for%20Office365%2C%20would%20be%20good.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-357772%22%20slang%3D%22en-US%22%3ERe%3A%20Audit%20and%20log%20metods%20for%20smtp.office365.com%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-357772%22%20slang%3D%22en-US%22%3E%3CP%3EMicrosoft%20doesn't%20publish%20the%20exact%20limits%20for%20all%20scenarios%2C%20but%20in%20most%20(non-bulk)%20scenarios%20you%20should%20be%20OK.%20I%20still%20wouldn't%20recommend%20using%20O365%20for%20sending%20such%20messages%2C%20and%20any%20of%20the%20third-party%20tools%20(MailChimp%2C%20SendGrid%2C%20Mandrill%2C%20whatever)%20would%20offer%20you%20more%20flexibility%20anyway.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-357513%22%20slang%3D%22en-US%22%3ERe%3A%20Audit%20and%20log%20metods%20for%20smtp.office365.com%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-357513%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20you%20recomend%20any%20free%2Fopen%20source%20tool%3F%20Or%20any%20metod%20work%20around%20this%3F%3C%2FP%3E%3CP%3EWich%20time%20we%20have%20to%20wait%20between%20authentications%3F%20Any%20page%20of%20microsoft%20with%20this%20information%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-357093%22%20slang%3D%22en-US%22%3ERe%3A%20Audit%20and%20log%20metods%20for%20smtp.office365.com%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-357093%22%20slang%3D%22en-US%22%3E%3CP%3EFirst%20of%20all%2C%20you%20should%20not%20be%20using%20O365%20for%20bulk%20emails%2C%20use%20some%20of%20the%203rd%20parties%20that%20specialize%20in%20that.%20If%20you%20do%20use%20it%2C%20the%20level%20of%20details%20you%20will%20be%20able%20to%20extract%20depends%20on%20the%20exact%20method%20you%20use%20for%20sending%2C%20in%20most%20cases%20your%20best%20bet%20for%20any%20mail%20flow%20related%20information%20will%20be%20the%20message%20trace%20logs%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fsecuritycompliance%2Fmessage-trace-scc%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fsecuritycompliance%2Fmessage-trace-scc%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Deleted
Not applicable

Hello!

I an experiencing some troubles in applications that authenticate with Office 365 licence account´s via SMTP for sending emails. Sometimes I dont now if I am reaching the limit (messages per minute, authentications per minute, something like that), or I am having some other trouble.
The administration tab on my office 365 administration account and Securaty and Complience, had give me some idea, of what is going on, but some times I can not understand the shurt log´s or lack of more messages. The authentication is sucessfull, but sometimes give me timeout, for some reason, or other errors.
I was hoping to get log´s as if I had my own SMTP server, more detailed, and just from authentications in smtp.office365.com or outlook.office365.com, and for the rest (Outlook, OWA).

I am going to put I sniffer on the communication, that combined with my application log to have more detail on that is going on. But see "the things" from Office 365 side it will be good.


I can see all the boundaries of the different types of licensing? Is any way to do that I descrive with any tool or addon or something like that? Any opinions or solutions, have anyone had similar problems and can help?


Best rewards

  

4 Replies

First of all, you should not be using O365 for bulk emails, use some of the 3rd parties that specialize in that. If you do use it, the level of details you will be able to extract depends on the exact method you use for sending, in most cases your best bet for any mail flow related information will be the message trace logs: https://docs.microsoft.com/en-us/office365/securitycompliance/message-trace-scc

Can you recomend any free/open source tool? Or any metod work around this?

Wich time we have to wait between authentications? Any page of microsoft with this information?

Microsoft doesn't publish the exact limits for all scenarios, but in most (non-bulk) scenarios you should be OK. I still wouldn't recommend using O365 for sending such messages, and any of the third-party tools (MailChimp, SendGrid, Mandrill, whatever) would offer you more flexibility anyway.

In my a case the are a application that process several claim check´s and PDF`s, sending email for each one using library and object´s functions. Normaly is used the SMTP server of the client, account exclusive created for this purpose, and some of them have Office365 licencing.
In the application, in some processing, can be send 300/400 email´s for diferent accounts in minutes. 
It's difficult sometimes to use other thing. The client already pay´s for the licenses that they have.

I'm going to invest the solutions mentioned.

Controle time and know limits with more details for Office365, would be good.

Related Conversations
Unable to send SMTP using mailx
Phillip Nguyen in Office 365 on
2 Replies
Teams error code - 6
damnit95 in Office 365 on
4 Replies
Flow to extract attachments from Inbox
Pn1995 in PowerApps & Flow on
11 Replies