[PHP] MAIL taking 60 seconds to send... (too long)

2002-10-07 Thread Negretti, John (CCI-San Diego)
Hello All, I have a script which is using mail() to send an e-mail message. It seems to be working, yet taking as long as 60-65 seconds just to send the e-mail. The e-mail has no attachments and only has one line in it. Does anyone have experience with this issue. I am using

Re: [PHP] MAIL taking 60 seconds to send... (too long)

2002-10-07 Thread Marco Tabini
Hey John-- Couple of ideas: 1) Is your sendmail configured as a relay? As such your PHP process may have to wait for the e-mail to be relayed before returning, which might explain why it's taking so long. The same might happen if your machine is very busy (although that has never happened to

Re: [PHP] MAIL taking 60 seconds to send... (too long)

2002-10-07 Thread @ Edwin
Hello, Perhaps, a DNS setting problem? - E On Tuesday, October 08, 2002 1:25 AM Negretti, John (CCI-San Diego) wrote: Hello All, I have a script which is using mail() to send an e-mail message. It seems to be working, yet taking as long as 60-65 seconds just to send the e-mail. The e-mail

Re: [PHP] MAIL taking 60 seconds to send... (too long)

2002-10-07 Thread Brad Pauly
Maybe your /etc/hosts file. What does you maillog say? # tail /var/log/maillog Brad On Mon, 2002-10-07 at 10:52, Edwin wrote: Hello, Perhaps, a DNS setting problem? - E On Tuesday, October 08, 2002 1:25 AM Negretti, John (CCI-San Diego) wrote: Hello All, I have a script