I'm actually pleased with myself so far, I've never really done php before and I have made the batchsend work from input from an XML/XSL file via a post which is generated by a 3rd party system with no emailing capabilities.
But now I'm stuck.
My problem is that if the same recipient comes up for an email more than once, the 1st email to them works, but any other emails do not send. I'm not sure if it's something I'm doing wrong or if it is a limitation with the batchsend.
Also (maybe should make a seperate post), to make the php batchsend page pick up the email addresses and other variables I have to write:
Code: Select all
if (!empty($_POST["rcpt1"])){$rcpt1 = $_POST["rcpt1"];}
if (!empty($_POST["rcpt2"])){$rcpt2 = $_POST["rcpt2"];}
if (!empty($_POST["rcpt3"])){$rcpt3 = $_POST["rcpt3"];}Code: Select all
if (!empty($_POST["rcpt{1-500}"])){$rcpt{1-500} = $_POST["rcpt{1-500}"];}