I have the following functionality in my PHP code.
// Envia o e-mail
$enviado = $mail->Send();
// Limpa os destinatários e os anexos
$mail->ClearAllRecipients();
$mail->ClearAttachments();
if( $enviado ){
return true;
} else {
return false;
}
Once you've submitted the Submit on the page, trigger an email using the above functionality, however if I give F5, another email is sent. I would like to know if even I updating the page (F5) I can only send an email?
Thank you.