Since the email configuration was changed from mail.xxxxx to smtp.xxxx my web page that allows users to send and email is no longer functioning. This line: Mail.Send(objEmail); throws an exception: "The SMTP server requires a secure connection or the client was not authenticated. The server response was: authentication needed" Any ideas?
Just to be sure. Currently my code has: SmtpClient Mail = new SmtpClient("smtp.ridgewoodwrestling.org") are you saying I couls simply use: SmtpClient Mail = new SmtpClient("localhost")
what if you are relaying from your local dev machine to discount? 'The SMTP server requires a secure connection or the client was not authenticated. The server response was: authentication needed'
If you are relaying from outside of our network, you will need to use an email component that allow SMTP authentication and use one of your POP3 account to authenticate. Bruce DiscountASP.NET www.DiscountASP.NET
Thanks Bruce! System.Net.NetworkCredential used in conjunction System.Net.Mail.SmtpClient won't work will it since it is outside of the network I have come to realize. I am actuallythankful that I am dealing with this issue... I like things secure... Bz
You should be able to connect to a server that requires SMTP Auth with system.Net.Mail class (you cannot do that w/ System.Web.Mail) See http://aspnet.4guysfromrolla.com/articles/072606-1.aspx Bruce DiscountASP.NET www.DiscountASP.NET