I have installed sendmail .
I have read this => http://guides.rubyonrails.org/action_mailer_basics.html
I need to do =>
rails generate mailer UserMailer
class UserMailer < ActionMailer::Base
default :from => "firstname.lastname@example.org"
@user = user
@url = "http://example.com/login"
mail(:to => user.email, :subject => "Welcome to My Awesome Site")
What will be the email address of :from => .. ?
I need to send email to @yahoo.com, @gmail.com and in any domain like
How can i do this ?
It will be helpful if someone can reply with explaination ?