Mail in CF7 is slow

Posted: 03-11-2005, 03:05 PM
Within the administrator I have set the spool interval to 10 seconds. However
it takes a good 20/30 seconds for the message to come through. There is no
major activity on the SMTP gateway and my CF5 server email go through much
faster on the same SMTP gateway. Does anyone have any ideas? Is there a way
to have an email send out instantly like a lot of PHP application seem to do?

Reply With Quote

Responses to "Mail in CF7 is slow"

Steven Erat
Guest
Posts: n/a
 
Re: Mail in CF7 is slow
Posted: 03-11-2005, 10:39 PM
sromanski wrote:
> Within the administrator I have set the spool interval to 10 seconds. However
> it takes a good 20/30 seconds for the message to come through. There is no
> major activity on the SMTP gateway and my CF5 server email go through much
> faster on the same SMTP gateway. Does anyone have any ideas? Is there a way
> to have an email send out instantly like a lot of PHP application seem to do?
>
Trace a few SMTP connections using the Ethereal Network analyzer. There
you can watch the packets go by with timestamps. You'll be able to see
exactly how long it takes for CF to connect to SMTP server and send all
the data.

You want to measure the time from when you run the cfmail code to the
time you see the corresponding SMTP connection. Easier done with with
just 1 mail message and not on a heavy production machine sending a lot
of mail. Then measure the time to send the data and close the TCP
connection. Finally measure the time from when the SMTP TCP connection
is closed until the time your mail client received it. That will break
the problem into 3 parts.

Finally, try telnetting to the SMTP server manually and compare the time
it takes to connect, send, and get the message there.

http://www.talkingtree.com/blog/inde...229DE8153E361C



--
Steven Erat
Senior Server Support Engineer
Advanced Certified ColdFusion Developer
Red Hat Linux Certified Technician
Macromedia
Reply With Quote
 
LinkBack Thread Tools Search this Thread Display Modes
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SLOW&ftp help... willtone42@aol.com Macromedia Shockwave 0 07-13-2005 04:42 PM
Very Slow Load Time SteveHW Macromedia Shockwave 0 03-25-2005 09:41 AM
Extremely Slow Printing in 6.01 Adam_Gadsby@adobeforums.com Adobe Acrobat Windows 1 04-01-2004 06:16 PM
another slow redraw Chris_Cox@adobeforums.com Adobe Photoshop Mac CS, CS2 & CS3 14 02-13-2004 08:26 PM
Illustrator very slow to launch lawrence_walker@adobeforums.com Adobe Illustrator Macintosh 5 02-05-2004 03:20 AM