aun4some1 Posted March 21, 2014 Share Posted March 21, 2014 Hello, I am having this warning when on contact us page. Warning: mail(/var/log/phpmail.log): failed to open stream: permission denied in /home/xxx/public_html/tools/swift/Swift/plugin/MailSend.php on line 160 Everything is working fine. When someone submits a contact form, it sent successfully, i get notification email, sender get confirmation email that message has been sent successfully. So i don't feel anything wrong but this warning always appears when someone submits contact us from. this warning appears on the top of the page on message successfully sent page. I have attached a screenshot that can explain better then my english Let me know please what about is this warning ? If it is not any major warning or it would not make any issue in future, let me know where can i turn off these php warnings or errors . I did turned on the php errors myself but now i forgot where i had done that. Sorry for bad english, i hope you can understand what i tried to explain. Looking forward to kind response. Link to comment Share on other sites More sharing options...
inweb Posted March 23, 2014 Share Posted March 23, 2014 Open-up tools/swift/Swift/plugin/MailSend.php and change: if (!ini_get("safe_mode")) $success = mail($to, $subject, $message, $headers, $params);to: if (!ini_get("safe_mode")) $success = @mail($to, $subject, $message, $headers, $params); Link to comment Share on other sites More sharing options...
Recommended Posts