ALL SYSTEMS OPERATIONALUPTIME 99.97%FLEET 18/18IN-MUM · US-LAX · EU-FSN EST. 2003 · +91 11 4998 4038

KNOWLEDGEBASE · WINDOWS

Windows Server: PHP's mail() function

Last updated 2020-04-05

Yes, PHP mail() function can be used to send out mail. PHP mail() function is supported on Linux plans only. The mail() function is not supported on our Windows plans due to the fact that there is no accounting procedure for the emails sent using php sites. Therefore, to make sure abusive accounts are not able to freely send spam emails from our Windows servers, we have disabled the mail() function.

To send mail through PHP on Windows, you can use the Net_SMTP pair package. The documentation is available at: http://pear.php.net/reference/Net_SMTP-1.1.2/li_Net_SMTP.html

Otherwise, we strongly suggest using a linux plan if you plan on deploying applications that require to send mail on php.

← All knowledgebase articles

Tell us what has to stay up.

A short conversation with an engineer. No quote-bot, no callback queue. We'll tell you honestly if we're not the right fit.