I am currently selecting email addresses from a database and sending an email to each email address.
I have logged the script and the script is only calling the function 5 times, and only adding the email once to PHPMailer (debugged in PHPMailer), but PHPMailer seems to be sending my email twice.
Even when I am only sending an email once.
I have no idea what is wrong here, tried googling but no luck.
Have any came across the same problem before?