Hello @Lee Yong Sheng - It seems like one of the details was provided incorrectly when the SMTP connection was being set up in the beginning step. Specifically, could you verify if the format of the user name is expected to be "alert@yourdomain.com" instead of being "alert" only?
Unable to send email using SMTP email in Azure Logic Apps
Hello everyone, greetings from Singapore!
I am currently developing an email alert feature using Azure Logic App.
The logic app firstly read the data from CosmosDB using documentdb function block, then parsing them into JSON before taking as input into condition logic-checking block.
Previously I tried sending the triggered email using Office 365 outlook, everything goes well as expected.
The logic works in a way I wanted.
Moreover, I am trying to use SMTP connector to send email using my client email address, as the email address is hosted on IMAP/SMTP server.
However, it was unable to send email as error message showing that sender email or recipient email format is incorrect.
I appreciate the help and answers from Microsoft forum.
I attached some snapshots and codeview for reference.
Thank you and regards
Yong Sheng
108661-codeview-23june21-smtp.txt
2 answers
Sort by: Most helpful
-
Mike Urnun 9,766 Reputation points Microsoft Employee
2021-06-28T18:30:55.617+00:00 -
Ajay Singh 1 Reputation point
2021-12-02T12:53:30.557+00:00 Initially, I am was also facing the same issue but adding the "From" parameter resolves the issue.