Quantcast
Channel: Anil Konsal
Viewing all articles
Browse latest Browse all 10

Sending Emails from RoR Application hosted on Site5 Shared server

$
0
0

Use this code:

1
2
3
4
5
6
7
8
9
10
11
12
default :from => "noreply@domain.com"
config.action_mailer.delivery_method = :smtp
   config.action_mailer.smtp_settings = {
   :address => "smtp.domain.com",
   :port => 25,
   :domain => "domain.com",
   :user_name => "noreply@domain.com",
   :password => "password here",
   :authentication => :login,
   :enable_starttls_auto => false,
   :openssl_verify_mode  => 'none'
}

Viewing all articles
Browse latest Browse all 10

Trending Articles