I have a doubt and it is that if it is possible that with PHPMailer you can send an email to any email that is entered in the form
Cheers!
I have a doubt and it is that if it is possible that with PHPMailer you can send an email to any email that is entered in the form
Cheers!
Yes, it is possible and it is also the most popular PHP library to perform this task. In PHPMailer GitHub you have both the installation steps and a basic example to send emails, where you can add as many destination email addresses as you want for each mail:
Applied to a form it would be:
Alternative: There are other very good libraries like SwiftMailer . I recommend that you try them both and stay with the one you are most comfortable with, because in terms of features and performance they are very similar.