Groups | Blog | Home
all groups > iis smtp nntp > march 2005 >

iis smtp nntp : Messages stuck in the QUEUE folder



hsiung3
3/4/2005 2:12:23 PM

Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="mymail@mydomain.com"
myMail.To="mymail@mydomain.com"
myMail.TextBody="This is a message."
myMail.Send

It works fine above script. But I found that only the Email send to
the acoount hosted under my server got stuck on queue folder,( like my
Email account admin@christiansingles.com) , the email domains which
are not hosting on my server are ok to send out.
I check the the system log and get this message;

Message delivery to the host '70.XX.XXX.XXX' failed while delivering to
the remote domain 'XXXX.com' for the following reason: The remote server
did not respond to a connection attempt.

Then I change to the following code;

_________________________________________
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="mymail@mydomain.com"
myMail.To="someone@somedomain.com"
myMail.TextBody="This is a message."
myMail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
'Name or IP of remote SMTP server
myMail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") _
="smtp.server.com"
'Server port
myMail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") _
=25
myMail.Configuration.Fields.Update
myMail.Send
____________________________________________

I got the error message like this:

CDO.Message.1 error '80040213'
The transport failed to connect to the server.

My server has the firewall in front And it is windows 2003.


Please advice.



--
hsiung3
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message942938.html
Ken Schaefer
3/6/2005 11:31:49 AM
Sounds like the local SMTP server (on the web server) can not contact the
SMTP server that is supposed to be receiving mail for your domain. Are they
the same machine? Or different machines?

Cheers
Ken

[quoted text, click to view]
:
: Set myMail=CreateObject("CDO.Message")
: myMail.Subject="Sending email with CDO"
: myMail.From="mymail@mydomain.com"
: myMail.To="mymail@mydomain.com"
: myMail.TextBody="This is a message."
: myMail.Send
:
: It works fine above script. But I found that only the Email send to
: the acoount hosted under my server got stuck on queue folder,( like my
: Email account admin@christiansingles.com) , the email domains which
: are not hosting on my server are ok to send out.
: I check the the system log and get this message;
:
: Message delivery to the host '70.XX.XXX.XXX' failed while delivering to
: the remote domain 'XXXX.com' for the following reason: The remote server
: did not respond to a connection attempt.
:
: Then I change to the following code;
:
: _________________________________________
: Set myMail=CreateObject("CDO.Message")
: myMail.Subject="Sending email with CDO"
: myMail.From="mymail@mydomain.com"
: myMail.To="someone@somedomain.com"
: myMail.TextBody="This is a message."
: myMail.Configuration.Fields.Item _
: ("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
: 'Name or IP of remote SMTP server
: myMail.Configuration.Fields.Item _
: ("http://schemas.microsoft.com/cdo/configuration/smtpserver") _
: ="smtp.server.com"
: 'Server port
: myMail.Configuration.Fields.Item _
: ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") _
: =25
: myMail.Configuration.Fields.Update
: myMail.Send
: ____________________________________________
:
: I got the error message like this:
:
: CDO.Message.1 error '80040213'
: The transport failed to connect to the server.
:
: My server has the firewall in front And it is windows 2003.
:
:
: Please advice.
:
:
:
: --
: hsiung3
: ------------------------------------------------------------------------
: Posted via http://www.webservertalk.com
: ------------------------------------------------------------------------
: View this thread: http://www.webservertalk.com/message942938.html
:

erin4amy
3/30/2005 7:52:51 AM

We had this same issue happen yesterday. What resolved our problem was
1) our ISP changed the IP address for their smtp server, so we pinged
that and corrected the smarthost entry, and 2) in the mailbox folder
there was a lock.mbx file. Once we deleted it, the messages started
flowing smoothly. Hope this helps.



--
erin4amy
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message942938.html
erin4amy
3/30/2005 7:52:51 AM

We had this same issue happen yesterday. What resolved our problem was
1) our ISP changed the IP address for their smtp server, so we pinged
that and corrected the smarthost entry, and 2) in the mailbox folder
there was a lock.mbx file. Once we deleted it, the messages started
flowing smoothly. Hope this helps.



--
erin4amy
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message942938.html
erin4amy
3/30/2005 7:52:51 AM

We had this same issue happen yesterday. What resolved our problem was
1) our ISP changed the IP address for their smtp server, so we pinged
that and corrected the smarthost entry, and 2) in the mailbox folder
there was a lock.mbx file. Once we deleted it, the messages started
flowing smoothly. Hope this helps.




[quoted text, click to view]



--
erin4amy
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message942938.html
AddThis Social Bookmark Button