batchSend() not working on my new webhost
Posted: Thu Mar 20, 2008 2:34 am
I've never had any problems with Swift Mailer until using my new webhost, now I have this problem: messages aren't being sent out.
I'm using batchSend() to send a message to all of my members. I have a bunch of setup code (to build $message, $recipients, etc.), and then these two lines of code after that:
The message my page displays is "Message sent to 0 recipients." Odd since it was working with my previous hosts. The only thing I changed in the code was the message's text (which, of course, wouldn't affect anything).
Is there some option my host has disabled for e-mail-related activity? Btw, I'm using PHP 5 (5.2 I believe, same version as on my last host).
I'm using batchSend() to send a message to all of my members. I have a bunch of setup code (to build $message, $recipients, etc.), and then these two lines of code after that:
Code: Select all
$number_sent = $swift->batchSend($message, $recipients, new Swift_Address("noreply@seedsoftime.net", "Seeds of Time Online"));
print "Message sent to <b>$number_sent recipients</b>.";Is there some option my host has disabled for e-mail-related activity? Btw, I'm using PHP 5 (5.2 I believe, same version as on my last host).