Page 2 of 2

Re: Loading php in the background

Posted: Tue Oct 28, 2008 2:36 pm
by djepayne
Everah,
It's taking 19 seconds to do this:

Code: Select all

require_once "swift/lib/Swift.php";
require_once "swift/lib/Swift/Connection/SMTP.php";
 
Then another 14 seconds to do this:

Code: Select all

$swift->batchSend($message, $recipients, "webmaster@pmpa.net");
My web host is 1and1.com running on a Linux server.

Re: Loading php in the background

Posted: Tue Oct 28, 2008 2:46 pm
by RobertGonzalez
Have you tried using sendmail instead of SMTP?