How is the correct way to use PHP 'mail()' on this hosting platform?

I need to make a system to recover password, and I will use the ‘mail ()’ tool present in the PHP server language, but I don’t know the correct syntax on this hosting platform.
Please, I need this help and support, I am very confused to make these systems.

mail() function is strictly banned in this platform!


It is not banned, it is heavily restricted.


Banned to an extent making it hard to use it as you normally would.

Mail is banned on free accounts.

The mail() function is restricted but you can still use PHPMailer library as alternative.

1 Like

IT IS NOT BANNED ON INFINITYFREE HOSTING. It’s only restricted due to prevent spam. You can use Phpmailer.


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