Sorry to bother you guys again, you've been nothing but helpful,I have a problem where my emails only send intermittently, i often get mailer errors (shown in system log) but i dont think it happens every email. I am in the process of upgrading my php version from 5.5 > 5.6 (this is proving to be tough though). I know that these errors are very tough to diagnose.Below is the system logs, system info and email settings. As far as email settings go mic@... is a shared outlook box from ne..@... I think this may be the cause of the email problem but i am not sure. The reason that leads be to believe it is NOT the problem is that email diagnostic test works, it sends emails. Also, sorry to blur out so much text, if you need clarification on what might be there let me know.Again, any help would be appreciated sorry for all this,Tomblankblankblankblank

Please insure that your php.ini has the mail section configured.If you have issues with using PHPmail you might want to move to SMTP.

According to the email settings in osT i am setup for SMTP. Is there something im missing as far as SMTP goes? I dont understand why its using PHP to send mail.

Not sure if it is the solution, but I would upgrade your PHP to version 5.6, 1.10 plays better with 5.6

I think i may have fixed, while looking at my apache2 logs i found this error (shown in attached image 1). And after some googling about setting up the i found that i needed to uncomment the hightlighted line and add the path. I think this may have solved my problem, though im not sure,blankblank

Well that would do it. :)

After sending some test emails, this did not solve the problem, we are still getting the same error from the osT log Unable to email via php mail function:"email name" mail() returned failureI think my next step is to try to upgrade from php5.5 -> 5.6. This is proving to be weird, does anybody know of a tutorial that could help?

So PHP was complaining saying that it couldn't find sendmail.You configured it to know where sendmail is and are still having issues.Maybe you should consult the sendmail logs?

6 days later

Follow the another discussion, we have to install/setup mail server also like postfix etc in localhost. Any configuration after install the postfix ? So the mail fungtions can work.

@[deleted] please do not hijack other peoples threads.  Thanks.

6 days later

I believe that fixed it, you can close the thread, thank you.

@[deleted] open your own thread please.@[deleted], thank you for letting us know. I will close this thread and mark it resolved. If for whatever reason this is still not solved I can mark it opened, so please private message me if that is the case.

Write a Reply...