Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET SMTP

 AfterLogic Forum : MailBee.NET SMTP
Subject Topic: Errors using MailBee.NET SMTP Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
pfokus
Newbie
Newbie
Avatar

Joined: 16 July 2006
Location: United States
Online Status: Offline
Posts: 1
Posted: 16 July 2006 at 12:32pm | IP Logged Quote pfokus

We are using SMTP.NET component and we are getting the following messages coming back from the component. We have been using Quiksoft .NET components so far and are testing yours out. At first glance we like the idea of yours better b/c we get immediate feedback about status of send and can log it immediately. We send messages out to 73,000 people on sunday and hope it can meet high number of recipients.

We hope we can resolve all issues. Here is what we are currently logging/getting back from component.

MIKE@SOCCER.COM pending 1218 74416 7/16/2006 12:30:36 PM Socket connection has been refused by remote host. InnerException message follows: No connection could be made because the target machine actively refused it0
kvonb@incat.com pending 1265 74416 7/16/2006 12:30:35 PM BDAT command has been rejected by the server. The server responded: 553 Connection terminated due to installation settings.0
shamanbv@telusplanet.net pending 6156 74488 7/16/2006 12:30:34 PM Socket connection has timed out. InnerException message follows: 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 respond0
mh_mahmud@yahoo.com pending 1921 74448 7/16/2006 12:30:33 PM SocketException occurred. InnerException message follows: The requested name is valid, but no data of the requested type was found0
banker@telusplanet.net pending 3296 74472 7/16/2006 12:30:31 PM SocketException occurred. InnerException message follows: The requested name is valid, but no data of the requested type was found0

Best regards,

Paul
Back to Top View pfokus's Profile Search for other posts by pfokus
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 18 July 2006 at 11:04am | IP Logged Quote Alex

These errors may occur if you are sending messages without SMTP relay server. This method discovers SMTP servers of recipients domains via DNS MX lookup, and then sends the message directly to these SMTP servers. The error messages you receives are usually sent to mail server, but since you do not use SMTP relay server, you get these errors in your application.

As for error messages themselves:

Quote:

MIKE@SOCCER.COM pending 1218 74416 7/16/2006 12:30:36 PM Socket connection has been refused by remote host. InnerException message follows: No connection could be made because the target machine actively refused it0


This exception means mail server is unavailable for some reasons (it is down, blocked by firewall software, etc.)

Quote:

kvonb@incat.com pending 1265 74416 7/16/2006 12:30:35 PM BDAT command has been rejected by the server. The server responded: 553 Connection terminated due to installation settings.0

shamanbv@telusplanet.net pending 6156 74488 7/16/2006 12:30:34 PM Socket connection has timed out. InnerException message follows: 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 respond0


To avoid those two, you can try to disable CHUNKING ESMTP extension as follows (in C# syntax):

Code:

Smtp mailer = new Smtp();
mailer.DnsServers.Autodetect();
mailer.DirectSendDefaults.SmtpOptions = ExtendedSmtpOptions.NoChunking;
...
mailer.Send();


Quote:

mh_mahmud@yahoo.com pending 1921 74448 7/16/2006 12:30:33 PM SocketException occurred. InnerException message follows: The requested name is valid, but no data of the requested type was found0


It is a communication issue with the server (machine is not allowing connections for some reason).

Best regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide