I read on actionmailer for rails. My question is about the default settings as described here :
config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :domain => 'baci.lindsaar.net', :user_name => '<username>', :password => '<password>', :authentication => 'plain', :enable_starttls_auto => true }
Now, having read from the API here , he says that:
": authentication. If your mail server requires authentication, you need to specify the authentication type here. This is a character and one of: plain (will send a password to the field).
so my question is that it sends the password in clear text? Itβs hard for me to believe that this is happening, but I donβt see the documentation saying that it encrypts it, it is somehow connected with the line :enable_starttls_auto => true ? let me know where my error is, as well as guarantee a secure connection (if this happens during encryption)?
as always welcome links and links to documentation / links :)
early.
source share