I am currently using Ruby to send emails, but getting the below error when sending email.
Following is the Code that sends out an email:Code:Errno::ECONNREFUSED: Connection refused - connect(2)
Following are the settings of my email;Code:Reminder.new_event(event_owner.email).deliver!
Can anyone please help me to sort out this issue?Code:config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :domain => "google.com", :authentication =>"login", :user_name => "email address", :password => "password", :enable_starttls_auto => true }


Reply With Quote
