Open kaffe19 opened 2 weeks ago
Steps to reproduce the behavior:
pull pglombardo/pwpush:latest
set PWPMAILSMTP_ENABLE_STARTTLS_AUTO -> false
do not set PWPMAILSMTP_AUTHENTICATION, PWPMAILSMTP_USER_NAME or PWPMAILSMTP_PASSWORD (exactly as when it was working before)
send test mail from console: password-pusher(prod)> TestMailer.send_test_email("abc@cde.ef").deliver_now
--> Configured FROM: address: 'abc@abc.abc' app/mailers/test_mailer.rb:7:in `send_test_email': No SMTP username provided: smtp_user_name (StandardError)
SMTPsettings:
password-pusher(prod)> Rails.application.config.action_mailer.smtp_settings => {:address=>"mysmtpserver.example.com", :port=>25, :open_timeout=>10, :read_timeout=>10, :enable_starttls_auto=>false}
Where are you running/using Password Pusher?
Mail should be deliverd to SMTP server unauthenticaded on port 25, in case user is not set.
Hello @kaffe19, thanks for contributing to the Password Pusher community! We will respond as soon as possible.
🐛 Bug Report
🔬 How To Reproduce
Steps to reproduce the behavior:
pull pglombardo/pwpush:latest
set PWPMAILSMTP_ENABLE_STARTTLS_AUTO -> false
do not set PWPMAILSMTP_AUTHENTICATION, PWPMAILSMTP_USER_NAME or PWPMAILSMTP_PASSWORD (exactly as when it was working before)
send test mail from console: password-pusher(prod)> TestMailer.send_test_email("abc@cde.ef").deliver_now
--> Configured FROM: address: 'abc@abc.abc' app/mailers/test_mailer.rb:7:in `send_test_email': No SMTP username provided: smtp_user_name (StandardError)
SMTPsettings:
password-pusher(prod)> Rails.application.config.action_mailer.smtp_settings => {:address=>"mysmtpserver.example.com", :port=>25, :open_timeout=>10, :read_timeout=>10, :enable_starttls_auto=>false}
Where are you running/using Password Pusher?
📈 Expected behavior
Mail should be deliverd to SMTP server unauthenticaded on port 25, in case user is not set.