How to I send mail through PHP without using SMTP.

  • Answered
Is it possible to send mail with out using smtp configurations ?
if possible provide me sample example code. or else provide me the doc how to send mail in php with/with out smtp
Hello, Thanks for the question about sending PHP mail without using SMTP. To comply with current SPAM standards involved with the PHP 'nobody' user, our newer servers that run PHP under Apache do not allow PHP to send mail via the mail() function, which is the default for most software. Verification of mail is necessary in order to stop spam coming from bots or other malware that could be added to website code. You can avoid using SMTP authentication only on VPS or dedicated servers where you have root access and you are responsible for your mail server's reputation. For more information, check out this article: Why won't my PHP app send mail? I hope this helps to answer your question, please let us know if you require any further assistance. Regards, Arnel C.