I've just started using Swift, and Im amazed at the quality of your product. Only god knows what you can do when you committ to it.
Anyways, say I just have a plain list of emails (sperated by ';'). I want to send each one of them an email, but without having all of their emails in the 'To' field of the messages (like your tutorial on mailing list-sending).
Would this work?
Code: Select all
<?php
$emails = stripslashes($_POST['emails']);
$list = explode(';', $emails);
#Instantiate Swift stuff
$swift->send($list, 'All the other required information');
?>