A family of Microsoft relational database management systems designed for ease of use.
Well, the is a forum to discuss Microsoft Access database related issues.
I'd suggest you post your question in a C# forum to get the help you seek.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to send email from my application but getting following error.
my email accout is: ******@eremit.sg
System.Net.Mail.SmtpException: 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 [SG2PR01CA0104.apcprd01.prod.exchangelabs.com]
at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at Emailservice.Service1.SendMail(String sendTo, String sendFrom, String sendSubject, String sendbody) in E:\Projects\M1\NewSmsAPI\m1remit-emailservice\Emailservice\Service1.svc.cs:line 221
Regards
Riyaz Ahmad
A family of Microsoft relational database management systems designed for ease of use.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Well, the is a forum to discuss Microsoft Access database related issues.
I'd suggest you post your question in a C# forum to get the help you seek.
Hi
I am using C# code for it and also tested other mail its working perfectly fine. We are having only issue with outlook 365 mail.
Regards
Riyaz Ahmad
The "Access" in the name of this forum refers to the Microsoft Access application, which is part of the Microsoft Office suite of applications. Access is used to create relational database applications.
Clearly, "Access" in your error message refers to something else.
Perhaps there is a language hurdle at work. "Access" was chosen as the name for this Office application because it implies the ability to "access data", which is, essentially, a marketing thing.
Access, as used in your error message, means the ability to get to the required service, and that's not the same thing at all.
Try a forum dedicated to whatever software application you used to create that code, Visual Studio perhaps? C# perhaps?
Hi
I am getting the following message at login history.
"Access has been blocked by Conditional Access policies. The access policy does not allow token issuance."
With hotmail and gmail i am able send mail from my app. So, to allow SMTP login from my application do i need to make any changes at outlook admin portal. Waiting for your valuable suggession.
Regards
Riyaz Ahmad
This doesn't look like Microsoft Access error codes, or VBA error codes? Please explain further.
The error message itself is plainly telling you the issue: "requires a secure connection or the client was not authenticated", so I'd be looking to insure I was using SSL/TLS and providing valid credentials.