barong icon indicating copy to clipboard operation
barong copied to clipboard

Improve: Allow SMTP with no password and user_name

Open dapi opened this issue 4 years ago • 1 comments

Hi!

When we use local SMTP without password and user_name there must be no empty user_name and password in SMTP settings.

Before this patch:

> [1] pry(main)> ActionMailer::Base.smtp_settings
=> {:address=>"172.16.0.56", :port=>"25", :user_name=>"", :password=>""}

After this patch:

[1] pry(main)> ActionMailer::Base.smtp_settings
=> {:address=>"172.16.0.56", :port=>"25"}

thank!

dapi avatar May 24 '21 09:05 dapi

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
11.9% 11.9% Duplication

sonarqubecloud[bot] avatar May 24 '21 09:05 sonarqubecloud[bot]