Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default Mail in CF7 is slow

    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?

    sromanski Guest

  2. Similar Questions and Discussions

    1. [PHP] PHP mail() fonction - Slow? Alternative?
      * Thus wrote Stéphane Paquay (s.paquay@blue4you.be): The odds are pretty high that it is your sendmail configuration. Internally all php does is...
    2. #24846 [Opn->Bgs]: IMAP Mail functions are extremely slow
      ID: 24846 Updated by: iliaa@php.net Reported By: gremlinx at speed-city dot com -Status: Open +Status: ...
    3. #24846 [Opn->Fbk]: IMAP Mail functions are extremely slow
      ID: 24846 Updated by: wez@php.net Reported By: gremlinx at speed-city dot com -Status: Open +Status: ...
    4. #24846 [Bgs->Opn]: IMAP Mail functions are extremely slow
      ID: 24846 User updated by: gremlinx at speed-city dot com Reported By: gremlinx at speed-city dot com -Status: Bogus...
    5. #24846 [Opn]: IMAP Mail functions are extremely slow
      ID: 24846 User updated by: gremlinx at speed-city dot com Reported By: gremlinx at speed-city dot com Status: Open...
  3. #2

    Default Re: Mail in CF7 is slow

    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.

    [url]http://www.talkingtree.com/blog/index.cfm?mode=entry&entry=629A7181-45A6-2844-7E229DE8153E361C[/url]



    --
    Steven Erat
    Senior Server Support Engineer
    Advanced Certified ColdFusion Developer
    Red Hat Linux Certified Technician
    Macromedia
    Steven Erat Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139