Email class problem: Multiple recipients |
[eluser]vaxis[/eluser]
Hi guys, I'm doing a newsletter system for my company and i have a problem with sending emails. I send emails trough a foreach loop: Code: foreach($temp as $email) { Someone had this problem? Thanks guys.
[eluser]xzela[/eluser]
what is the structure of the $email var? It should be an array. Also, make sure the email is being sent, else, based on this line: exit(); the foreach loop will stop if the email is not sent, which may be causing the issue. Hope that helps.
[eluser]vaxis[/eluser]
I solved the problem... I was working on my machine and email to my company was sent, but i forget that i were working in local and the problem was that... Now all working fine. Thanks for help. |
Welcome Guest, Not a member yet? Register Sign In |