PDA

View Full Version : Server error with aspnetemail


TonyMast
11-19-2004, 05:19 AM
I'm using the trial version of aspnetemail and aspnetpop3.
below is the error I'm recieveing and the code I'm using (example from advanced intellect)

503 auth not available (#5.3.3) (Missing Reply Code'334') [Additional Help:The mail server does not support authentication code 334. You may want to change the SmtpAuthentication value.]



Dim msg As New aspNetEmail.EmailMessage()


msg.Server = "mail.teramall.com"


msg.Username = "Tony@teramall.com"


msg.Password = "password check 25 times to make sure and tested"


msg.FromAddress = "tony@teramall.com"


msg.To = "tony@teramall.com"


msg.Subject = "Test Email"


msg.Body = "This is a test email."


If msg.Send() Then


Response.Write("Message Sent.")


Else


Response.Write(("The following error occurred: " + msg.LastException().Message))


End If





Thanks


Tony





Thank you
Tony

bruce
11-19-2004, 10:26 AM
change the smtp server to 'localhost'

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)