I have installed sendmail . I have read this => http://guides.rubyonrails.org/action_mailer_basics.html
I need to do => rails generate mailer UserMailer app/mailers/user_mailer.rb => class UserMailer < ActionMailer::Base default :from => "[email protected]" def welcome_email(user) @user = user @url = "http://example.com/login" mail(:to => user.email, :subject => "Welcome to My Awesome Site") end end What will be the email address of :from => .. ? I need to send email to @yahoo.com, @gmail.com and in any domain like [email protected]. How can i do this ? It will be helpful if someone can reply with explaination ? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

