Tried mail, smtp, with and without passwords the cart message is always the same telling me mail has been sent , Nothing arrives and no error log on server. Arggggggggg please help, i have searched the forum pasted a few of the other mail.php fixes but nothing i try will work.
My email works fine from everything else except opencart
.
Regards
Extremly frustrated
Frustrated wrote: Finally solved it, i now have it sending emails on linux server here was the solution.
in mail.php find the lineand change to thisCode: Select all
mail($to, $this->subject, $message, $header);
it was the -f switch with a valid sending domain that was the issue, the domain with the -f switch has to be hard coded in for the mailserver security.Code: Select all
mail($to, $this->subject, $message, $header, "-fyouremailaddress@yourdomain.com");