Notifications
Announcements
No record found.
Hi ,
Getting below error while testing email parameter in Dev box (VM).
System administrator - > Eamil-> Email parameter
Email provider - configured
SMTP setting - configured
Error message :
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [ME2PR01CA0238.ausprd01.prod.outlook.com]
Note: Same setting are working in UAT server .
Please suggest on this.
Thanks in advance.
Regards,
GR
Hi GR,
Are the settings the same and did you use the same sender email?
Hi GReddy,
Please refer to the DOC:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/fin-ops/organization-administration/configure-email?toc=/dynamics365/commerce/toc.json
You need to provide the SMTP account Send As and Send On Behalf Of permissions to enable the ability to send Simple Mail Transfer Protocol (SMTP) mail
Please make sure your user account has a valid O365 mailbox.
You can visit https://outlook.office365.com/owa using the account to confirm it.
You can run the following script in Powershell to test whether you can send email using the email address and smtp.office365.com.
$MailFrom = "O365 mail adrress" $MailTo = "to address mail " $Username = "O365 mail adrress" $Password = "psd" $SmtpServer = "smtp.office365.com" $SmtpPort = "587" $MessageSubject = "Test Subject" $Message = New-Object System.Net.Mail.MailMessage $MailFrom,$MailTo $Message.IsBodyHTML = $true $Message.Subject = $MessageSubject $Message.Body = @' This is a test message. '@ # Construct the SMTP client object, credentials, and send $Smtp = New-Object Net.Mail.SmtpClient($SmtpServer,$SmtpPort) $Smtp.EnableSsl = $true $Smtp.Credentials = New-Object System.Net.NetworkCredential($Username,$Password) $Smtp.Send($Message)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 551 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
BillurSamdancioglu 278 Most Valuable Professional