How can i send email with ruby on rails 3.1?

I have installed sendmail .

I have read this =>

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 = “
mail(:to =>, :subject => “Welcome to My Awesome Site”)

What will be the email address of :from => … ?

I need to send email to, and in any domain like
[email protected]

How can i do this ?

It will be helpful if someone can reply with explaination ?

Form: ist whatever email you want it to be… the from field is the
address. So it could be you address or [email protected] or similar.
it would be good advise if you ensure ownership over the used domain or
least the used email address.

send by Samsung Galaxy Tab with Overcome Mod
Am 09.10.2011 10:22 schrieb “gmsfirst gmsfirst” [email protected]:

How Can i send mail in ruby on rails my version is of ruby on rails is

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs