Update the script to use the new password.
PowerShell script unable send SMTP email for DL email ID after resting the DL password
PowerShell script was sending SMTP email for distribution list email ID until the password is rest.
Therefore, need some help to solve the issue.
Windows for business | Windows Server | User experience | PowerShell
5 answers
Sort by: Most helpful
-
-
Hemant 1 Reputation point Microsoft External Staff
2024-03-31T19:26:43.36+00:00 I have use new password. However, it still did not work.
-
MotoX80 37,156 Reputation points2024-03-31T20:57:17.6633333+00:00 You should start by reviewing how and where the script stores the credentials. Make sure that it sees the correct password.
Then work with your SMTP (Exchange?) server admin and have him test those credentials. Verify that no other access permissions were changed.
Your image shows a "535 5.7.139" error. There are some hits on the net that describe how to troubleshoot that error.
https://www.bing.com/search?q=smtp+error+535+5.7.139
https://www.warmy.io/blog/understanding-and-fixing-the-smtp-535-error-incorrect-authentication-data/
-
Hemant 1 Reputation point Microsoft External Staff
2024-04-01T18:07:47.22+00:00 it is a team Distribution List email ID. It is working fine if I use Get-Credential. Since the Get-Credential prompt to enter the password every time, looking for work around for automation.
-
Hemant 1 Reputation point Microsoft External Staff
2024-04-01T22:31:18.2566667+00:00 Resting the password has solve the issue.