You need to patch Net::SMTP to use Gmail.

Do a Google search for smtp_tls, download it to your app's lib
directory and setup action mailer to use smtp.  The Rails Wiki has a
great example of how to setup ActionMailer for SMTP.

http://wiki.rubyonrails.org/howtos/mailers

On Jun 24, 2:00 pm, Marnen Laibow-Koser <rails-mailing-l...@andreas-
s.net> wrote:
> kopf1988 wrote:
> > I really don't think you can do that, because you'd need SMTP. Now if
> > there was a pop or imap plugin, maybe that would work for GMail.
>
> Sorry, but it seems like you don't know what you're saying here.  POP
> and IMAP are used only for receiving mail -- SMTP is *always* used for
> sending.
>
> Gmail does provide SMTP access, but it's a bit of a pain to set up with
> ActionMailer due to its authentication method.  What I do on my dev box
> is just use my ISP's SMTP server -- much simpler.
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> [email protected]
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to