Hi,
I've been using SwiftMailer successfully for the past couple months to send large batches (up to 150,000 in one go) and I'm now trying to determine how many messages are actually being sent. So basically I do something like this:
$num_sent = $swift->batchSend($message, $recipients, $from);
And I know in the docs it says that this number is how many recipients were accepted for delivery at the server. So the question is what is the possibility that addresses are accepted by the smtp server but not actually being sent? Anyone know a way to check this?
Thanks
Trying to determine how many messages are being sent
Moderators: Chris Corbyn, General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Trying to determine how many messages are being sent
Extremely possible. Some SMTP servers which merely act as relays (e.g. the ones provided by your ISP) will only check for syntax errors in the address. The rest is left down to bouncing to occur. Not really much Swift (version 3) can do about that unfortunately since it's done it's job of telling the SMTP server to send the mail.