When I send mail use smtpmail get error: Mailbox unavailable.(asp.net 2.0)

  • Thread starter Thread starter mmnenator
  • Start date Start date
M

mmnenator

When I send mail use smtpmail get error: Mailbox unavailable.(asp.net
2.0)
 
This generally means that the mail destination is not able to accept email.
Post your code and we can see if there are other issues.
 
My code :
Dim smtpmail As New Net.Mail.SmtpClient("127.0.0.1")
Dim msg As New Net.Mail.MailMessage()
msg.From = New Net.Mail.MailAddress("(e-mail address removed)")
msg.To.Add("(e-mail address removed)")
msg.Subject = "this is a test"
msg.Body = "this is mail body ,thanks !"
smtpmail.Send(msg)
 
Are you using a smart host on your local SMTP server? Is so, does it allow
relaying?

I noticed that your domain uses cox.net for mailing. Do you know if you
have the ability to go through port 25 on cox.net?
 

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

Similar Threads


Back
Top