Re: Speed of sending email .. can I put them in a queue rather than wait?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Angus Mann wrote:

> The number of emails sent is very small. Each one is only sent after a
> user fills out a form and presses send.
> 
> But there is a noticable lag of about 5 or sometimes 10 seconds after
> pressing "send" before the user sees the "Mail sent" page. I presume
> the reason for the lag is the time spent logging on and off a remote
> POP, then SMTP server, transferring the data etc.
> 
> It would be better if this happened in the background - that is, the
> user could get on with doing his next task while the emails sat in a
> queue in the backgorund, being lined up and sent without PHP waiting
> for the process to finish.

sendmail is your answer. 


/Per

-- 
Per Jessen, Zürich (0.6°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux