Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Huamin  
#1 Posted : Monday, April 27, 2020 5:18:45 AM(UTC)
Huamin

Rank: Newbie

Groups: Registered
Joined: 4/27/2020(UTC)
Posts: 0

Hi,
Due to error below, what reason can be identified further?

Problem encountered to send out Email notification to user. 535 Authentication failed. Restarting authentication process. at EASendMail.SmtpClient.(String , String ) at EASendMail.SmtpClient.(SmtpServer , Boolean , String ) at EASendMail.SmtpClient.(SmtpServer , Boolean , String& ) at EASendMail.SmtpClient.Connect(SmtpServer server) at EASendMail.SmtpClient.SendMail(SmtpServer server, SmtpMail mail) at Login._Default.Page_Load(Object sender, EventArgs e)

with codes like

oMail.From = "sender@???.com";
//oMail.From = "xxx";
//oMail.To = tb_email.Text;
oMail.To = "???n@gmail.com";
//oMail.To = "xxyy";
oMail.Subject = "Test";

oMail.HtmlBody = "???";
//SmtpServer oServer = new SmtpServer("localhost");
SmtpServer oServer = new SmtpServer("www.???.com");
//oServer.User = "sender";
oServer.User = "sender@???.com";
oServer.Password = "???";
oServer.ConnectType = SmtpConnectType.ConnectSSLAuto;

try
{
oSmtp.LogFileName = "c:/dp2/smtp.txt";
oSmtp.SendMail(oServer, oMail);
ivan  
#2 Posted : Monday, April 27, 2020 4:20:01 PM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,153

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)
535 Authentication failed. Restarting authentication process is returned by your server.

It means your user/password is not accepted by your server, are you sure the user/password is correct? I thought you should contact server administrator for assistance.
Huamin  
#3 Posted : Sunday, May 3, 2020 1:33:27 AM(UTC)
Huamin

Rank: Newbie

Groups: Registered
Joined: 4/27/2020(UTC)
Posts: 0

Hi,
The user account and password are fine.

What could be any other reasons?
ivan  
#4 Posted : Sunday, May 3, 2020 5:19:33 PM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,153

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)
Originally Posted by: Huamin Go to Quoted Post
Hi,
The user account and password are fine.

What could be any other reasons?


This error was returned by your server:

535 Authentication failed. Restarting authentication process

You have to ask server administrator for assistance. If your server administrator disabled your SMTP authentication, you will get the error even with correct user/password.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.065 seconds.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.