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!

6 Likes

It is not banned, it is heavily restricted.

6 Likes

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.

2 Likes