skip to Main Content

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


  1. It is working fine for me and i have used below process:

    Used below command:

    az communication email send --sender "[email protected]" --subject "Important" --to "reciever mail" --text "Hello Rithwik, How are you" --connection-string "endpoint=https://rithcon.communication.azure.com/;accesskey=zabZ3yu3w=="
    

    Output:

    enter image description here

    Then checked the status:

    az communication email status get --message-id "431a86" --connection-string "endpoint=https://rithcon.communication.azure.com/;accesskey=zabZ3ywNYx73w=="
    

    Output:

    enter image description here

    Now received mail as below:

    enter image description here

    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.

    Login or Signup to reply.
  2. 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

    enter image description here

    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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search