No mails are coming through from opencart.
If I do a var_dump on mail($to, $this->subject, $message, $headers) (line 140) the output is true, but a warning is given:
Warning: Cannot modify header information - headers already sent by (output started at system/library/mail.php:140) in opencart/system/engine/controller.php on line 23.
If I change mail($to, $this->subject, $message, $headers) to mail($to, $this->subject, $message) (remove $headers) I get the email but the message (body of the email) is base64 encoded nonsens.
If then switch $message to $this->text - email body is empty. If I use $this->html I get the html as text.
Where is the setting to choose if you send the mail as plain text or html?
Is there an easy way to fix this problem? Or implement phpmailer?
Other web applications I have on the same server uses php mail, smtp or sendmail without problems.
Who is online
Users browsing this forum: No registered users and 10 guests