From: worldofrugs via WebmasterKB.com on
Not delayed message (send via our shopping cart, using CDO)
-------
Received: (qmail 29856 invoked from network); 28 Apr 2008 18:21:16 -0000
Received: from unknown (HELO pre-smtp23-02.prod.mesa1.secureserver.net) ([10.
0.19.123])
(envelope-sender <mymail(a)myserver.com>)
by smtp26-02.prod.mesa1.secureserver.net (qmail-1.03) with SMTP
for <mymail2(a)myserver.com>; 28 Apr 2008 18:21:16 -0000
Received: (qmail 8013 invoked from network); 28 Apr 2008 18:21:16 -0000
Received: from unknown (HELO smtpout06.prod.mesa1.secureserver.net) ([64.202.
165.227])
(envelope-sender <mymail(a)myserver.com>)
by pre-smtp23-02.prod.mesa1.secureserver.net (qmail-ldap-1.03) with
SMTP
for <mymail2(a)myserver.com>; 28 Apr 2008 18:21:16 -0000
Received: (qmail 11580 invoked from network); 28 Apr 2008 18:21:14 -0000
Received: from unknown (68.178.211.76)
by smtpout06-04.prod.mesa1.secureserver.net (64.202.165.227) with ESMTP; 28
Apr 2008 18:21:14 -0000
thread-index: AcipXKSP9r2CI8iHTq67P7m+A0KPWQ==
Thread-Topic: Order Confirmation - Thank you for your order. Your order
number is: 2
From: <mymail(a)myserver.com>
To: <mymail2(a)myserver.com>
Subject: Order Confirmation - Thank you for your order. Your order number is:
2
Date: Mon, 28 Apr 2008 11:21:14 -0700
Message-ID: <B6C8EEB384A64779A958AF60F9A500EC(a)hosting.corp.gd>
X-Mailer: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4073
X-Nonspam: IP whitelist 64.202.165.227
X-Antivirus: AVG for E-mail 7.5.524 [269.23.5/1401]
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain
------------------------------------------------------------------------------
-------------------

Delayed message (using html form with the script using CDOSYS)
--------
Received: (qmail 30621 invoked from network); 2 May 2008 01:47:28 -0000
Received: from unknown (HELO p3presmtp01-19.prod.phx3.secureserver.net) ([208.
109.80.168])
(envelope-sender <xxxx(a)gmail.com>)
by smtp29.prod.mesa1.secureserver.net (qmail-1.03) with SMTP
for <mymail(a)myserver.com>; 2 May 2008 01:47:28 -0000
Received: (qmail 24390 invoked from network); 2 May 2008 01:47:28 -0000
Received: from smtpout16-02.prod.mesa1.secureserver.net ([68.178.232.12])
(envelope-sender <xxxx(a)gmail.com>)
by p3presmtp01-19.prod.phx3.secureserver.net (qmail-ldap-1.03) with
SMTP
for <mymail(a)myserver.com>; 2 May 2008 01:47:28 -0000
Received: (qmail 10030 invoked from network); 2 May 2008 01:47:28 -0000
Received: from unknown (HELO WINHOSTECN76.hosting.corp.gd) ([68.178.211.76])
(envelope-sender <xxxx(a)gmail.com>)
by smtpout16-02.prod.mesa1.secureserver.net (qmail-ldap-1.03) with
SMTP
for <mymail(a)myserver.com>; 2 May 2008 01:47:28 -0000
Received: from mail pickup service by WINHOSTECN76.hosting.corp.gd with
Microsoft SMTPSVC;
Wed, 30 Apr 2008 16:39:44 -0700
Thread-Topic: Website Form Submission: Designer Sign-Up
thread-index: AcirG3fyDYmdh77aTAiMvsw/HD6IBg==
From: <xxxx(a)gmail.com>
To: <mymail(a)myserver.com>
Subject: Website Form Submission: Designer Sign-Up
Date: Wed, 30 Apr 2008 16:39:44 -0700
Message-ID: <B94DB392CB3C4BEDB733AFF22EC71CFA(a)hosting.corp.gd>
X-Mailer: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4073
X-OriginalArrivalTime: 30 Apr 2008 23:39:44.0803 (UTC) FILETIME=[78222730:
01C8AB1B]
X-Nonspam: None
X-Antivirus: AVG for E-mail 7.5.524 [269.23.7/1411]
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=======AVGMAIL-481B202B46F4======="

--=======AVGMAIL-481B202B46F4=======
Content-Type: multipart/alternative; boundary="----
=_NextPart_000_0000_01C8AAE0.CBA45580"

------=_NextPart_000_0000_01C8AAE0.CBA45580
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

------------------------------------------------------------------------------
-------------------

These are 2 headers from a delayed message and a non-delayed message..
Delayed used CDOSYS + the mentioned script and the NOT delayed message came
from our shopping cart, using CDO

Personally I do not see a huge difference, except the AVG anti-virus part at
the bottom...
I doubt it's the virus scanner causing the delay? As I am not an expert in
these things, perhaps you can see if there's anything that's different, that
migh cause the delay?

I appreciate your help so much!




Daniel Crichton wrote:
>worldofrugs wrote on Thu, 01 May 2008 17:37:19 GMT:
>
>> I'm hosted on a shared server with Godaddy.com... I have several forms
>> on my website that all use the same ASP file to send out my forms..
>[quoted text clipped - 3 lines]
>> delays)
>> on their end and refuse to help with custom scripts..
>
>> My emails are also hosted by godaddy like my website.
>
>> Hopefully someone here can have a look at my code and see why I might
>> have such huge delays?
>[quoted text clipped - 3 lines]
>> their email script it has also a huge delay, while setting it to CDO it
>> arrives within minutes...
>
>What do the message headers in delayed emails look like, and how do they
>compare to ones that aren't delayed? It's entirely possible that godaddy's
>own servers are delaying the sending of messages due the headers, treating
>some of them at a lower priority than others due to missing or extraneous
>headers compared to the other ones.
>

--
Message posted via http://www.webmasterkb.com

From: Daniel Crichton on
Comments inline.

worldofrugs wrote on Tue, 06 May 2008 16:09:14 GMT:

> Not delayed message (send via our shopping cart, using CDO)
> --------

> Received: from unknown (68.178.211.76)
> by smtpout06-04.prod.mesa1.secureserver.net (64.202.165.227) with
> ESMTP; 28
> Apr 2008 18:21:14 -0000 thread-index: AcipXKSP9r2CI8iHTq67P7m+A0KPWQ==

Here's the first received line - notice how it appears to go direct to the
mail server smtpout06-04.prod.mesa1.secureserver.net.


> Delayed message (using html form with the script using CDOSYS)
> --------

> Received: from unknown (HELO WINHOSTECN76.hosting.corp.gd)
> ([68.178.211.76])
> (envelope-sender <xxxx(a)gmail.com>)
> by smtpout16-02.prod.mesa1.secureserver.net (qmail-ldap-1.03)
> with
> SMTP for <mymail(a)myserver.com>; 2 May 2008 01:47:28 -0000
> Received: from mail pickup service by WINHOSTECN76.hosting.corp.gd with
> Microsoft SMTPSVC;
> Wed, 30 Apr 2008 16:39:44 -0700

Is the delay around 2 hours? Notice that the first received line here is
from the mail pickup service at 23:39 UTC, but the next line shows it being
passed at 01:47 UTC to the next server inline. Assuming that the times shown
are correct, here's your delay.

> These are 2 headers from a delayed message and a non-delayed message..
> Delayed used CDOSYS + the mentioned script and the NOT delayed message
> came from our shopping cart, using CDO

Is there any difference in the SMTP host names being used? Such as the CDO
one in the cart specifying a host (using the smtpserver property), but the
CDOSYS one not (in which case it is written to a local queue file for MS
SMTP server first where it hangs around in the hard disk queue for a while
before being passed to the outgoing server). That's all I can think of,
unfortunately I don't use CDO or CDOSYS, I prefer to use ASPEmail as it
gives me a lot more control over the messaging.

--
Dan


From: Daniel Crichton on
I just noticed something else from your original post that I missed first
time around. You wrote that you tried these too:

msg.Configuration.Fields.Item("
http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
msg.Configuration.Fields.Item("
http://schemas.microsoft.com/cdo/configuration/smtpserver") =
"relay-hosting.
secureserver.net"
msg.Configuration.Fields.Item("
http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 3535
msg.Configuration.Fields.Item("
http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") =1
msg.Configuration.Fields.Item("
http://schemas.microsoft.com/cdo/configuration/sendusername") =
"email1(a)myserver.com"
msg.Configuration.Fields.Item ("
http://schemas.microsoft.com/cdo/configuration/sendpassword") = "abc1234"


Did you also remember to include after this, before sending, the following:

msg.Configuration.Fields.Update


If not, those settings would not have been used - which would cause CDO to
dump the message to the local queue folder where it would wait for the SMTP
service to pick it up and process it to send it out. If there is a massive
amount of locally queued mail this could explain the 2 hours delay.

--
Dan


From: worldofrugs via WebmasterKB.com on
Daniel, U THE MAN!!!
I think it might be indeed the "msg.Configuration.Fields.Update" line i was
forgetting...
Adding (enabling) the following lines, got rid of all the delays!

msg.Configuration.Fields.Item("
http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
msg.Configuration.Fields.Item("
http://schemas.microsoft.com/cdo/configuration/smtpserver") = "relay-hosting.
secureserver.net"
msg.Configuration.Fields.Item("
http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
msg.Configuration.Fields.Item("
http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") =1
msg.Configuration.Fields.Item("
http://schemas.microsoft.com/cdo/configuration/sendusername") =
"mymail(a)myserver.com"
msg.Configuration.Fields.Item("
http://schemas.microsoft.com/cdo/configuration/sendpassword") = "abc1234"
msg.Configuration.Fields.Item("
http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False
msg.Configuration.Fields.Update

Thank you SOOOO MUCH Daniel! I have been stuck on this so long already.



Daniel Crichton wrote:
>I just noticed something else from your original post that I missed first
>time around. You wrote that you tried these too:
>
>msg.Configuration.Fields.Item("
>http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
>msg.Configuration.Fields.Item("
>http://schemas.microsoft.com/cdo/configuration/smtpserver") =
>"relay-hosting.
>secureserver.net"
>msg.Configuration.Fields.Item("
>http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 3535
>msg.Configuration.Fields.Item("
>http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") =1
>msg.Configuration.Fields.Item("
>http://schemas.microsoft.com/cdo/configuration/sendusername") =
>"email1(a)myserver.com"
>msg.Configuration.Fields.Item ("
>http://schemas.microsoft.com/cdo/configuration/sendpassword") = "abc1234"
>
>Did you also remember to include after this, before sending, the following:
>
>msg.Configuration.Fields.Update
>
>If not, those settings would not have been used - which would cause CDO to
>dump the message to the local queue folder where it would wait for the SMTP
>service to pick it up and process it to send it out. If there is a massive
>amount of locally queued mail this could explain the 2 hours delay.
>
>--
>Dan

--
Message posted via http://www.webmasterkb.com

From: Daniel Crichton on
worldofrugs wrote on Wed, 07 May 2008 14:20:05 GMT:

> Daniel, U THE MAN!!!
> I think it might be indeed the "msg.Configuration.Fields.Update" line i
> was forgetting...
> Adding (enabling) the following lines, got rid of all the delays!

> Thank you SOOOO MUCH Daniel! I have been stuck on this so long already.

Glad to have been able to help. I've learnt a bit more about CDO now, and
I'm just hoping that if I ever have to use it that I remember to include
that line :P

--
Dan