Messages stuck in the QUEUE folder

From: hsiung3 (hsiung3.1le8d2_at_mail.webservertalk.com)
Date: 03/04/05


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
 


Relevant Pages

  • Re: Remote Desktop Connection to Server isnt working
    ... RDP to your Server. ... then trying remote desktop and got the same error message. ... "The client could not connect to the remote computer. ... might not be enabled might be too busy to accept new connections. ...
    (microsoft.public.windows.server.sbs)
  • RE: Remote Web Workplace not working
    ... What's the detail error message when you visit RWW? ... Do you have hardware router or firewall between Internet and SBS server? ... You said "Remote Desktop works perfectly to connect to server but we ... Collect IIS Log: ...
    (microsoft.public.windows.server.sbs)
  • Re: ssh_exchange_identification
    ... get following error message. ... I tried to login using both remote server host ... Is it my configuration or remote web server configuration that is causing ...
    (Fedora)
  • Re: Problems with Threading and CDO in C# Winforms app
    ... CDO 1.2.1 that comes with Outlook is "client ... And we have CDO for Exchange and CDO for Windows 2000 ... which is also Server side. ...
    (microsoft.public.dotnet.languages.csharp)
  • Local site not copying to deployment server?
    ... I'm testing my site on a remote ... server. ... This morning, I changed an error message in an email, tested it ... release version and linking the web site to an old debug version, ...
    (microsoft.public.dotnet.framework.aspnet)