How do i use php mailer with cpanel #2331
-
I can't seem to find any documentation on how to use php mailer on an hosted code using cpanel. References, links & explanations along with working & testable code snippets are greatly appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I've no idea about cpanel specifically, but you'd run it like you run any other PHP code: Configure a web server with a PHP runtime (usually PHP-FPM), point it at your scripts and off you go. How you do that it outside PHPMailer's scope. There is a ton of example code provided in the examples folder; I don't think you would need to do anything special at all to make all of them work with cpanel. |
Beta Was this translation helpful? Give feedback.
I've no idea about cpanel specifically, but you'd run it like you run any other PHP code: Configure a web server with a PHP runtime (usually PHP-FPM), point it at your scripts and off you go. How you do that it outside PHPMailer's scope. There is a ton of example code provided in the examples folder; I don't think you would need to do anything special at all to make all of them work with cpanel.