How do I know if my host is allowing me to send emails using PHP mail() function?
Is that possible to check with phpinfo() output?
How do I know if my host is allowing me to send emails using PHP mail() function?
Is that possible to check with phpinfo() output?
IS that possible to check with phpinfo() output?
Not always, and not reliably. But why not simply try out?
mail("[email protected]", "Test subject", "Test body");
You could check the phpinfo()
but I would suggest trying
mail("[email protected]", 'Subject', 'Test Body', "From: [email protected]");