0
Galera set up a function that executes the class phpmailer and send an email. However I do not know how to check her return and know if the email was sent. Good follows the function:
function envia_email($destinatario) {
// Aqui fica todos os dados da função
// Envia o e-mail
$email->Send();
}
What sends the email and this command $email->Send();
.
And I call it that:
envia_email($destinatario);
Well, how do I know if it’s true or false?
OK, it worked 100% thank you very much
– Hugo Borges