SMTP Error

SMTP Error

Forum member · May 27, 2008
I get this error when I try to send a PDF as an attachment via Firemail. The server works fine for other SMTP traffic, I can send mail with a regular email client and my cell phone using this same server. Any ideas? System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 216.17.XXX.XXX:25 at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at zz95a..ctor(String A_0, Int32 A_1, Int32 A_2, Connection A_3) at ceTe.FireMail.Security.AnonymousAuthentication.Authenticate(String server, Int32 port, Int32 bufferSize, Connection connection) at ceTe.FireMail.Connection.b() at ceTe.FireMail.Message.Send(String smtpServer) at EncompassWebServices.BC_FireMail.SendAttachement(String folder, String filename, String smtpServer, String fromAddress, String toAddress, String subject, String messageText, Boolean newWindow)

Re: SMTP Error

Support · May 27, 2008
Hello, Can you please try running the FireMail examples downloaded with the product download using your server and see if you get any error. Thanks, ceTe Software Support Team.

Re: SMTP Error

Forum member · May 27, 2008
The VB console solution that I have for examples builds fine, but when I run the app I get the following error: System.Net.Sockets.SocketException was unhandled ErrorCode=11001 Message="No such host is known" Source="System" StackTrace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at zz95a..ctor(String A_0, Int32 A_1, Int32 A_2, Connection A_3) at ceTe.FireMail.Security.AnonymousAuthentication.Authenticate(String server, Int32 port, Int32 bufferSize, Connection connection) at ceTe.FireMail.Connection.b() at ceTe.FireMail.Message.Send(String smtpServer) at FireMailExamples.PlainTextMail.SendMessage(String smtpServer, String fromFullName, String fromAddress, String toFullName, String toAddress) in C:\Program Files\ceTe Software\FireMail v1.0.3 for .NET Evaluation Edition\Examples\VisualStudio2005\Console\Console_VB\PlainTextMail.vb:line 18 at FireMailExamples.Examples.Main(String[] args) in C:\Program Files\ceTe Software\FireMail v1.0.3 for .NET Evaluation Edition\Examples\VisualStudio2005\Console\Console_VB\Examples.vb:line 22 If I change the To/From/SMTPServer variables to use my info, I get the same error that I was getting before. Either way the app fails to run.

Re: SMTP Error

Support · May 27, 2008
Hello, This looks like there might be some problem with the SMTP server you are using. We are able to run the examples using our server without any problem. Are you able to send mails using this server? Thanks, ceTe Software Support Team.