Using ActionMailer default_options "from" in configuration.yml
Added by Mehdi Belatrous almost 5 years ago
Hello everyone,
I'm trying to setup configuration.yml so that I can use my company smtp server. I need to use ActionMailer default_options setting because I use a service account to authenticate and this account as a "send as" authorization to send from an alias email. I can get it working through a Python script but not with Redmine settings.
When I try to send mail I get a 550 error : 550 5.7.1 Client does not have permissions to send as this sender. I don't know what I'm doing wrong.
Thanks in advance for any help.
I'm running Redmine 4.1.1 with Ruby 2.4.5. Below is my configuration.yml
production:
email_delivery:
default_options:
from: 'email@company.com'
delivery_method: :smtp
smtp_settings:
address: ''
enable_starttls_auto: true
port: 1
authentication: :login
user_name: ''
password: ''
openssl_verify_mode: 'none'
Replies (1)
RE: Using ActionMailer default_options "from" in configuration.yml
-
Added by peng yao over 1 year ago
I have the same problem as you, here is my solution:
I login the redmine as 'admin',and click the 'manage' item, then I see the 'email notification' item and I set the address of email sender in this page.
Now I can send the email without the problem mentioned above.