For sending SMTP mail message

Hi team i am facig issue for sending smtp mail message.
below error is coming
" SMTP Mail Message: 504: 5.7.4 Unrecognized authentication type"

Please help on this.

@AsadPathan2665
The error message “504: 5.7.4 Unrecognized authentication type” typically indicates that the SMTP server doesn’t recognize the authentication method you’re attempting to use. Here’s a step-by-step solution to resolve this issue in UiPath:

  1. Check SMTP Server Settings: Make sure you have the correct SMTP server address, port number, and other settings. Verify these settings with your email provider or IT department.
  2. Authentication Type: Ensure you are using the correct authentication type supported by your SMTP server. Common authentication types include “None”, “Plain”, “Login”, “NTLM”, etc. You need to know which one your SMTP server requires.
  3. UiPath SMTP Activity Configuration:
  • If you’re using the “Send SMTP Mail Message” activity in UiPath, ensure that the authentication type specified in the properties matches the requirement of your SMTP server.
  • The activity properties should include fields for server, port, username, password, and authentication type. Double-check these settings.

@AsadPathan2665 If you’re using Office 365, it’s possible that Security Defaults setting is blocking SMTP. Also investigate with telnet which authentication is supported on the target server.

Else you can check this link for more troubleshooting steps

Please use below links as reference for SMTP errors

it clearly indicates that the SMTP server doesn’t recognize the authentication method you’re attempting to use. Ensure you are using the correct authentication type supported by your SMTP server. Common authentication types include “None”, “Plain”, “Login”, “NTLM”, etc. You need to know which one your SMTP server requires.