Add PHPMailer on custom wordpress form

Question

How can I use the built-in PHPMailer to work on my custom-made form? Right now I am using a simple mail function to send emails, but I want to use the PHPMailer class.

I made a custom page page-customForm.php and now I need to include PHPMailer but I cannot requiere_once from the wp-includes folder.

Any other methods ?

0
Maaverick 4 weeks 2022-08-30T06:05:20-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse