By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,856 Members | 1,986 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,856 IT Pros & Developers. It's quick & easy.

Error + Send Mail + ERROR: Failure sending mail.

P: n/a
Hi, everyone I try to send a simple e-mail witch this Code, but always
send me a error messages:
"ERROR: Failure sending mail."
Thansk You.
Don Quijote de Nicaragua.
Elder Soto.

Dim correo As New System.Net.Mail.MailMessage()
correo.From = New
System.Net.Mail.MailAddress("MyAco...@turbonett.co m.ni")
correo.To.Add("MyAco...@gmail.com")
correo.Subject = "Prueba Hola Mundo" & "Fecha y hora GMT: " &
_
DateTime.Now.ToUniversalTime.ToString("dd/MM/
yyyy HH:mm:ss")
correo.Body = "Cuerpo"
correo.IsBodyHtml = False
correo.Priority = System.Net.Mail.MailPriority.Normal
Dim smtp As New System.Net.Mail.SmtpClient
smtp.Host = "mail.turbonett.com.ni"
smtp.Credentials = New System.Net.NetworkCredential("myUser",
"MyPassword")
smtp.EnableSsl = False
'
Try
smtp.Send(correo)
Response.Write("Mensaje enviado satisfactoriamente")
Catch ex As Exception
Response.Write("ERROR: " & ex.Message)
End Try
Jun 27 '08 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Don Quijote de Nicaragua wrote on 26-6-2008 :
Hi, everyone I try to send a simple e-mail witch this Code, but always
send me a error messages:
"ERROR: Failure sending mail."
Thansk You.
Don Quijote de Nicaragua.
Elder Soto.
....
Try
smtp.Send(correo)
Response.Write("Mensaje enviado satisfactoriamente")
Catch ex As Exception
Response.Write("ERROR: " & ex.Message)
End Try

Instead of only displaying the Message of the "top" exception, try
digging deeper in the InnerExceptions: there you will find more
information about the real problem.

Hans Kesting
Jun 27 '08 #2

P: n/a
Hi, everyone, I try witch two server y appear this message:
1- First Server (mail.cablenet.com.ni):
System.Net.Mail.SmtpException {"Transaction failed. The server
response was: Service unavailable; Client host
[194.147.intelnet.net.gt] blocked using Barracuda Reputation;
http://bbl.barracudacentral.com/q.cgi?ip=216.230.147.194"}
System.Net.Mail.SmtpException

2- Second Server (mail.turbonett.com.ni):
Unable to connect to the remote server

Any ideas is happened?

Don Quijote de Nicaragua.
Elder Soto.

On 26 jun, 01:54, Hans Kesting <news.han...@spamgourmet.comwrote:
Don Quijote de Nicaragua wrote on 26-6-2008 :
Hi, everyone I try to send a simple e-mail witch this Code, but always
send me a error messages:
"ERROR: Failure sending mail."
Thansk You.
Don Quijote de Nicaragua.
Elder Soto.

...
Try
smtp.Send(correo)
Response.Write("Mensaje enviado satisfactoriamente")
Catch ex As Exception
Response.Write("ERROR: " & ex.Message)
End Try

Instead of only displaying the Message of the "top" exception, try
digging deeper in the InnerExceptions: there you will find more
information about the real problem.

Hans Kesting

Jun 27 '08 #3

P: n/a
Don Quijote de Nicaragua formulated the question :
Hi, everyone, I try witch two server y appear this message:
1- First Server (mail.cablenet.com.ni):
System.Net.Mail.SmtpException {"Transaction failed. The server
response was: Service unavailable; Client host
[194.147.intelnet.net.gt] blocked using Barracuda Reputation;
http://bbl.barracudacentral.com/q.cgi?ip=216.230.147.194"}
System.Net.Mail.SmtpException
Apparently there is some "baracuda reputation" checking and actively
refusing to send your e-mail. Dis you try that link?
>
2- Second Server (mail.turbonett.com.ni):
Unable to connect to the remote server
Could be anything. Does that server exist? Can it be reached from your
application? Any more errormessages (inner exceptions maybe)?

Hans Kesting
Jun 27 '08 #4

P: n/a
Hans,

I replied to Don Quijote, in spanish, in the spanish asp.net newsgroup,
where he posted the same error messages, giving him ample details
and suggesting he use a reliable smpt server, like Gmail's, for testing.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Hans Kesting" <ne*********@spamgourmet.comwrote in message news:%2***************@TK2MSFTNGP06.phx.gbl...
Don Quijote de Nicaragua formulated the question :
>Hi, everyone, I try witch two server y appear this message:
1- First Server (mail.cablenet.com.ni):
System.Net.Mail.SmtpException {"Transaction failed. The server
response was: Service unavailable; Client host
[194.147.intelnet.net.gt] blocked using Barracuda Reputation;
http://bbl.barracudacentral.com/q.cgi?ip=216.230.147.194"}
System.Net.Mail.SmtpException

Apparently there is some "baracuda reputation" checking and actively refusing to send your e-mail. Dis you try that
link?
>>
2- Second Server (mail.turbonett.com.ni):
Unable to connect to the remote server

Could be anything. Does that server exist? Can it be reached from your application? Any more errormessages (inner
exceptions maybe)?

Hans Kesting


Jun 27 '08 #5

P: n/a
Thank You, Juan T. Libre.
Don Quijote de Nicaragua.
Elder Soto
On 26 jun, 06:17, "Juan T. Llibre" <nomailrepl...@nowhere.comwrote:
Hans,

I replied to Don Quijote, in spanish, in the spanish asp.net newsgroup,
where he posted the same error messages, giving him ample details
and suggesting he use a reliable smpt server, like Gmail's, for testing.

Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
======================================

"Hans Kesting" <news.han...@spamgourmet.comwrote in messagenews:%2***************@TK2MSFTNGP06.phx.gbl ...
Don Quijote de Nicaragua formulated the question :
Hi, everyone, I try witch two server y appear this message:
1- First Server (mail.cablenet.com.ni):
System.Net.Mail.SmtpException {"Transaction failed. The server
response was: Service unavailable; Client host
[194.147.intelnet.net.gt] blocked using Barracuda Reputation;
http://bbl.barracudacentral.com/q.cgi?ip=216.230.147.194"}
System.Net.Mail.SmtpException
Apparently there is some "baracuda reputation" checking and actively refusing to send your e-mail. Dis you try that
link?
2- Second Server (mail.turbonett.com.ni):
Unable to connect to the remote server
Could be anything. Does that server exist? Can it be reached from your application? Any more errormessages (inner
exceptions maybe)?
Hans Kesting

Jun 27 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.