Dear friends,
I am new to rails.I am develoing a test application in which i need
to
send email . I have rails 2.2.2
I have made following changes in application.rb
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => ‘smtp.gmail.com’,
:port => 587,
:domain => ‘gmail.com’,
:authentication => :plain,
:user_name => ‘[email protected]’,
:password => ‘lionesss’,
:tls => true
}
When i send email I get following message in prompt:
Processing AddressBooksController#addFriends (for 127.0.0.1 at
2009-01-26
14:23:41) [GET]
Parameters: {“final”=>“1”, “email0”=>“[email protected]”}
Redirected to /address_books/sendmail?nameOfSender=muhammad
Completed in 3ms (DB: 0) | 302 Found [
http://127.0.0.1/address_books/addFriends?final=1&email0=raafay86%40gmail.com
]
Processing AddressBooksController#sendmail (for 127.0.0.1 at 2009-01-26
14:23:42) [GET]
Parameters: {“nameOfSender”=>“muhammad”}
Sent mail to [email protected]
Date: Mon, 26 Jan 2009 14:23:42 +0500
From: [email protected]
To: [email protected]
Subject: Invitation from BizCar
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
The message shows as if the email has been sent but I am receiving no
email
at [email protected].
If somebody can help me out …Thankssssss