Release Support > Release Discussion

SMTP Error (554): Sending to remote addresses (relaying) is not allowed.

<< < (2/2)

mcnesium:
As I already wrote here, I was able to break down the problem to the encryption of the passwords.

Before storing the SMTP passwords to the database, they are being encrypted here:


--- Code: ---            $password = rcmail::get_instance()->encrypt($password);
--- End code ---

When sending a mail, the passwords are being decrypted here:

--- Code: ---            $args['smtp_pass']   = rcmail::get_instance()->decrypt($smtpSettings['smtp_pass']);
--- End code ---

I disabled both the encryption and decryption, and now the plugin works again, with the downside that the passwords are unencrypted in the database.

Do you have an idea how to fix the password encryption?

Also: sorry for late reply. I must have missed the reply notification.

GayuS:
I was facing same issue.That was explained well.

Navigation

[0] Message Index

[*] Previous page

Go to full version