473,224 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,224 software developers and data experts.

Error + Send Mail + ERROR: Failure sending mail.

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
5 4650
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: B-Dog | last post by:
I've built a small app that sends mail through our ISP's SMTP server but when I try to send through my local exchange server I get CDO error. Does webmail use SMTP or does it strictly rely on...
3
by: dgiagio | last post by:
Hi, I'm creating a SMTP application and I would like to hear opinions about error handling. Currently there are two functions that communicate with the remote peer: ssize_t...
2
by: Rajani | last post by:
Hi friends, I am sending mail from ASP program. My server is win 2k, IIS 5. SMTP server is configured. I am generating a report(purchase order) and the same sending as an email to the...
1
by: Hennie7863 | last post by:
Hi all, At this moment I'm trying to get database mail working. According to some people it should be easy. Well...that is not the case for me. I'm having the following error: The mail could...
2
by: clevrmnkey | last post by:
I've had nothing but trouble from the System.Net.Mail objects, but I finally need to make them work, and I can't for the life of me see what I'm doing wrong. I pared back my mail transaction to...
2
by: =?Utf-8?B?QWRl?= | last post by:
HI All, I am encountering the following error when I try to send an email through a SMTP server. I believe the problem lies with the authentication part when the network crednetials are used,...
2
by: swapnilsane | last post by:
Hi All, I have written following asp.net code to send email. Dim mailClient As New SmtpClient("mail.yahoo.com") Dim Msg As New MailMessage() mailClient.Host = "mail.yahoo.com"...
2
by: satnamsarai | last post by:
Using System.Net.Mail: Sometimes I get error 'failure sending mail. Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.' Not sure how...
9
by: JoeP | last post by:
Hi All, How can I find the reason for such an error: Failure sending mail. Some Code... oMailMessage.IsBodyHtml = False oMailMessage.Body = cEmailBody Dim oSMTP As New SmtpClient...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.