I have tried setting SMTP configuration for my webmail. I have used following settings for configuration
Username: xyz@mydomain.in
Password: Use the email account’s password.
Incoming Server: a2plcpnl0234.prod.iad2.secureserver.net
IMAP Port: 993
POP3 Port: 995
Outgoing Server: a2plcpnl0234.prod.iad2.secureserver.net
SMTP Port: 465
When I tried with these settings I get time out error/Failure sending mail. Below is the c# code
SmtpClient smtp = new SmtpClient();
smtp.Host = "webmail.mydomain.in";
smtp.UseDefaultCredentials = true;
smtp.EnableSsl = true;
System.Net.NetworkCredential credentials = new System.Net.NetworkCredential();
credentials.UserName = "xyz@mydomain.in";
credentials.Password = "mypasword";
smtp.Credentials = credentials;
smtp.Port = 465;