Messages stuck in the QUEUE folder
From: hsiung3 (hsiung3.1le8d2_at_mail.webservertalk.com)
Date: 03/04/05
- Next message: Pradeep: "Re: Problem in sending mail from local SMTP service"
- Previous message: Dennis Black: "Re: Problem in sending mail from local SMTP service"
- Next in thread: Ken Schaefer: "Re: Messages stuck in the QUEUE folder"
- Reply: Ken Schaefer: "Re: Messages stuck in the QUEUE folder"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 4 Mar 2005 14:12:23 -0600
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
- Next message: Pradeep: "Re: Problem in sending mail from local SMTP service"
- Previous message: Dennis Black: "Re: Problem in sending mail from local SMTP service"
- Next in thread: Ken Schaefer: "Re: Messages stuck in the QUEUE folder"
- Reply: Ken Schaefer: "Re: Messages stuck in the QUEUE folder"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|