I am using the server that comes with Rails and I need to configure it to send emails to recipients such as [email protected] and [email protected].
Do I need to use my Gmail account or install a local SMTP service. I'm a newbie in ruby on rails
I am executing this using Mailers.
An example that I saw on internet is below.
ActionMailer::Base.smtp_settings = {
:user_name => 'your_sendgrid_username',
:password => 'your_sendgrid_password',
:domain => 'yourdomain.com',
:address => 'smtp.sendgrid.net',
:port => 587,
:authentication => :plain,
:enable_starttls_auto => true
}