Delayed sending email

%3CLINGO-SUB%20id%3D%22lingo-sub-801703%22%20slang%3D%22en-US%22%3EDelayed%20sending%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-801703%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20two%20on-premise%20Exchange%202016%20servers%20which%20are%20configured%20as%20hybrid%20environment%20with%20Office%20365.%20We%20have%20a%20claud%20application%20which%20uses%20the%20on-premise%20Exchange%20to%20relay%20emails.%20It%20was%20working%20fine%20until%20recent%2C%20the%20email%20delivery%20has%20been%20delayed%20for%20a%20few%20hours.%20I%20have%20reached%20out%20to%20Office%20365%20support%20and%20they%20pointed%20out%20the%20delay%20is%20happened%20at%20the%20place%20where%20Exchange%20relays%20email%20to%20Office%20365.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20to%20troubleshoot%20the%20issue%3F%20If%20I%20don't%20use%20Exchange%20server%20to%20reply%20the%20email%2C%20instead%20I%20use%20the%20Office%20365%20SMTP%20server%20directly%2C%20does%20the%20POP%20and%20IMAP%20need%20to%20be%20enabled%20for%20the%20email%20account%3F%20Please%20help!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20advice%20will%20be%20highly%20appreciated!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-801703%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-805131%22%20slang%3D%22en-US%22%3ERe%3A%20Delayed%20sending%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-805131%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F74422%22%20target%3D%22_blank%22%3E%40Grace%20Yin%3C%2FA%3E%26nbsp%3BHave%20you%20checked%20your%20Connector%20logs%20on%20why%20the%20delay%20is%20happening%2C%20Check%20Event%20viewer%20on%20your%20Exchange%20servers%20to%20see%20the%20possible%20error%20code%2C%20also%20check%20Get-queue%20on%20why%20the%20emails%20are%20delayed%20along%20with%20number%20of%20Shadow%20Copies%20in%20Shadow%20Queue.%3C%2FP%3E%3CP%3ERe-Run%20HCW%20to%20correct%20everything%20on%20priority.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%20!%3C%2FP%3E%3CP%3EAnkit%20Shukla%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-807621%22%20slang%3D%22en-US%22%3ERe%3A%20Delayed%20sending%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-807621%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Ankit%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20very%20much%20for%20your%20reply.%20Can%20you%20tell%20me%20which%20connector%20log%20should%20I%20check%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20checked%20Event%20Viewer%20and%20found%20one%20error%20which%20seems%20related.%20See%20the%20image%20below.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20958px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F127205i00D271780D0DDE15%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22errorEX.JPG%22%20title%3D%22errorEX.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20source%20IP%20address%20is%20the%20application%20server%20IP.%20The%20email%20relay%20has%20been%20working%20fine%20for%20a%20long%20time.%20I%20don't%20think%20there%20is%20any%20change%20on%20the%20application%20server.%20Don't%20know%20why%20the%20issue%20suddenly%20happens.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20advise!%3C%2FP%3E%3CP%3EThanks%20in%20advance!%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F156230%22%20target%3D%22_blank%22%3E%40ankit%20shukla%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-814534%22%20slang%3D%22en-US%22%3ERe%3A%20Delayed%20sending%20email%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-814534%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F74422%22%20target%3D%22_blank%22%3E%40Grace%20Yin%3C%2FA%3E%26nbsp%3B%20i%20dont%20think%20the%20IP%20is%20added%20in%20the%20Relay%20of%20your%20Receive%20Connectors.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGo%20to%20your%20Exchange%20Admin%20Center%20(On-Premise)%20%26amp%3B%20Follow%20this%20Path%20-%20Mail%20Flow%20%26lt%3B%20Receive%20Connector%20%2C%20open%20front%20end%20-%20and%20see%20if%20the%20IP%20Address%20is%20added%20for%20your%20Web%20Server%20or%20not.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20may%20also%20verify%20in%20send%20connector%20for%20relay%2C%20if%20the%20IP%20is%20added%20or%20not.%20if%20it%20is%20not%20please%20add%20and%20then%20from%20Elevated%20CMD%20(On%20Exchange%20Server%20itself)%20-%20IISRESET%20FOR%20refresh%20in%20Web%20Services.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETest%20and%20see%20if%20it%20works%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%20!%3C%2FP%3E%3CP%3EAnkit%20Shukla%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

Hi,

 

We have two on-premise Exchange 2016 servers which are configured as hybrid environment with Office 365. We have a claud application which uses the on-premise Exchange to relay emails. It was working fine until recent, the email delivery has been delayed for a few hours. I have reached out to Office 365 support and they pointed out the delay is happened at the place where Exchange relays email to Office 365.

 

How to troubleshoot the issue? If I don't use Exchange server to reply the email, instead I use the Office 365 SMTP server directly, does the POP and IMAP need to be enabled for the email account? Please help!

 

Any advice will be highly appreciated!

 

Thanks in advance!

3 Replies
Highlighted

@Grace Yin Have you checked your Connector logs on why the delay is happening, Check Event viewer on your Exchange servers to see the possible error code, also check Get-queue on why the emails are delayed along with number of Shadow Copies in Shadow Queue.

Re-Run HCW to correct everything on priority.

 

Cheers !

Ankit Shukla

 

Highlighted

Hi Ankit,

 

Thank you very much for your reply. Can you tell me which connector log should I check? 

 

I checked Event Viewer and found one error which seems related. See the image below.

 

errorEX.JPG

 

The source IP address is the application server IP. The email relay has been working fine for a long time. I don't think there is any change on the application server. Don't know why the issue suddenly happens. 

 

Please advise!

Thanks in advance!

@ankit shukla 

Highlighted

@Grace Yin  i dont think the IP is added in the Relay of your Receive Connectors.

 

 

Go to your Exchange Admin Center (On-Premise) & Follow this Path - Mail Flow < Receive Connector , open front end - and see if the IP Address is added for your Web Server or not.

 

You may also verify in send connector for relay, if the IP is added or not. if it is not please add and then from Elevated CMD (On Exchange Server itself) - IISRESET FOR refresh in Web Services.

 

Test and see if it works :) 

 

Cheers !

Ankit Shukla