sending emails via site.

M

Mr. X.

Hello,

What may be the problem of sending email via my site.

I use something like :
(VB - on aspx page)

dim mail as new MailMessage
mail.from = (e-mail address removed) (this email is correct and configured on the
site).
mail.to = (e-mail address removed) (any correct email).
mail.body = "..."

mail.BodyEncoding = System.Text.Encoding.GetEncoding(1255)
SmtpMail.SmtpServer = "mail.myserver.com"
SmtpMail.Send(mail)
....
Then I get the message :
503 This mail server requires authentication ...


Thanks :)
 
M

Mr. X.

....
also before sending I did :
mail.BodyFormat = MailFormat.Html
....
the rest of code is the same.

Thanks :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top