PHP Mail function
Posted by Joe Rebis on 27 June 2013 11:31 AM
If your PHP application does not specify a from address, many just reply on the generic settings in the PHP.ini file, it will not work on our platform.
Please see this article below for a code solution OR using the option below.
This option establishes a from address by default when sending email using PHP if it is not otherwise done in the code
1) Create a file called .user.ini in the wwwroot folder of your website.
2) Put the following in the file and save it.
sendmail_from = firstname.lastname@example.org
3) Reload your application. e.g. open, edit and save the web.config file. To edit just put a few spaces and then delete them.
You can use this as a drop in replacement for overriding many php.ini settings.