How to use PHPmailer in InfinityFree

Website URL

(Please specify the URL of the site where the problem occurred.)

https://gamegam.wuaze.com/mail/API

Error message

Error code 500 when accessing the website

(If applicable, please share the full error message displayed.)

The page is not working.
Your request cannot be processed by gamegam.wuaze.com at this time.
HTTP ERROR 500

Other information

Uncomment the require ‘PHPMailer/src/Exception.php’; to connect.

It’s xampp, but it doesn’t work when I try it on this hosting
(Other information and details related to the question)

HTTP ERROR 500 just means your PHP code crashed. To see why it crashed, you may want to enable Display Errors. You can learn more about that in this article:

As for the question in the title: using PHPMailer here should work exactly the same as it works anywhere else.

6 Likes

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