Send form to email confirmation with the person’s name

Asked

Viewed 102 times

0

I would like to know how to send a confirmation email to the user who filled in a form with his name. For example.. Thank you 'so-and-so''.

Since, the php file’s upload code line is this..

"<p><strong>Nome e Sobrenome: </strong>" . filter_input(INPUT_POST, 'nome', FILTER_SANITIZE_STRING) . "</p>"
  • You can use Phpmailer https://github.com/PHPMailer/PHPMailer The site has all the documentation and a very complete example.

  • What’s wrong with sending 2 emails? 1 to the recipient and another to confirm?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.