Answer the question
In order to leave comments, you need to log in
Why does an error occur when using the mail function?
I have php attached to IIS, to send mail I registered in php.ini sendmail_path = "C:/sendmail-ssl"
When calling the mail () function, php writes the following to the error log:
[16-Mar-2015 12:33:03 Asia/Yekaterinburg] PHP Warning: PHP Startup: in Unknown on line 0
[16-Mar-2015 12:33:03 Asia/Yekaterinburg] PHP Warning: PHP Startup: in Unknown on line 0
[16-Mar-2015 12:33:03 Asia/Yekaterinburg] PHP Warning: PHP Startup: p in Unknown on line 0
[16-Mar-2015 12:33:03 Asia/Yekaterinburg] PHP Warning: PHP Startup: p in Unknown on line 0
Answer the question
In order to leave comments, you need to log in
The sendmail_path directive takes the path to the executable, and you seem to have only specified the path to the folder where the executable is located.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question