When I send my first email from Azure Communication Services (az communication email send) it accepts the send email request, returning a MessageId. When I query that MessageId using "az communication email status get" it seems stuck at "status": "OutForDelivery", and no message email arrives.
Any idea what might be the problem?
2
Answers
It is working fine for me and i have used below process:
Used below command:
Output:
Then checked the status:
Output:
Now received mail as below:
So the problem you are facing is at receiving end(problem is with recipient’s email server), so you need to check if its in spam, or blocked. See id there is a filtering block. So the process is correct only the problem is with recipient.
If you want to send an email to a user using ACS you need to configure the below
Have you checked your inbox, junk or spam folders still you didn’t find the sent email? then
I would suggest you to enable diagnostics logging for your Acs resource and query the ACSEmailStatusUpdateOperational logs (provides message and recipient level delivery status updates related to the Email service send mail requests) to check the status of the message
Refer to these documentations for more information about how to enable diagnostic logging and also about different supported email logs in ACS
Note : MessageID will be the correlationId in this table.
If your message delievery status was showing as OutForDevlivery and you have checked all the folder and you did’nt receive email then email might in queued state.
I would suggest you to raise a support ticket and to understand why the Email not yet delivered.