PHP form send two emails

I have a form on a website which customers complete (name and email address) to receive a free PDF.
This is operating well with phpmailer.

Is there a way that the website owner can get a notification of the form details (without the attached PDF)?

Thanks in advance for any help.

You don’t say how you’re sending the emails - PHP send() or PHPMailer (or similar). I’m assuming you’re using something like PHPMailer as you’re sending an attachment.

In that case you could simply change the parameters/settings and call $mail->send(); a second time I should think.

Hi, thank you for your reply. I am using PHPMailer. As you suggested, this has worked! Thanks again.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.