Hi,
I had a big problem with opencart and zoho mail. When i finaly
configured SMTP protocol (using this manual bdw)
Every time opecart tries to sen email to a customer i had an error
553 Relaying disallowed DATA not accepted from server.
This happens because opencart uses your contact mail value for
"Mail From" attribute.
You have 2 ways to fix this:
Replace this:
-
public function
setFrom($from) {
-
$this->from = $from;
-
}
-
-
public function setSender($sender) {
-
$this->sender = $sender;
-
}
To this:
-
public function
setFrom($username) {
-
$this->from = $this->username;
-
}
-
-
public function setSender($username) {
-
$this->sender = $this->username;
-
}
ATTENTION: You need to use your full mail as username at smtp configuration.
P.S. Sorry for my bad English. I hope this short manual will help
you deal with problem :)