Action mailer

K

kranthi reddy

[Note: parts of this message were removed to make it a legal post.]

You need to configure your action mailer in the application else you can
aslo do with plain ruby using net/http.


On Tue, Jul 22, 2008 at 2:10 PM, Sujith Gangaraju <
 
S

Sujith Gangaraju

kranthi said:
You need to configure your action mailer in the application else you can
aslo do with plain ruby using net/http.
any detailed description about it
 
K

kranthi reddy

[Note: parts of this message were removed to make it a legal post.]

You need to generate an actionmailer using ruby script/generate mailer <name
of the mailer>
This will generate the mailer required files for you.
Once you are done with that you need to configure with the evnironment.rb
file
ActionMailer::Base.server_settings{
:address => 'required address',
:port =>'port number',
:domian => 'which mailer domain you are using',
:authentication => ':login,
:usernmae =>'username',
:password => 'passwrod'
}
Once these are configured you need to write the mailer code in it.You can
also refer to page 411 from the book agile web developement which contains a
chapter regarding this mailer functionality
kranthi.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,661
Latest member
sxarexu

Latest Threads

Top