See here:
http://groups.google.com/group/heroku/browse_thread/thread/9d66e90f3dba59cf/4d70ebf04b8f3e3d?lnk=gst&q=sending+mail#4d70ebf04b8f3e3d Craig On Apr 20, 3:41 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > i tried this to get gmail working for smtp and it did not work on > heroku. it was working in rails 2.0 on my local machine, but as soon > as i put it on heroku, it wont send emails anymore. am i overlooking > something heroku specific? is there any heroku specific > configuration? > > cheers... > > On Feb 22, 4:20 am, Kamilion <[EMAIL PROTECTED]> wrote: > > > > > On Thu, Feb 21, 2008 at 5:37 AM, Laurent <[EMAIL PROTECTED]> wrote: > > > My question is more about gems : can we install them if not present? > > > Open the vendor folder in the interface and click on Gems & Plugins >> > > to access the heroku gem/plugin manager. Gems/Plugins with C > > extensions will not currently work. (hpricot, ferret, bcrypt, etc) > > > > I have another question about mail notification, as we use it : > > > Currently we used GMail SMTP server to do this (locally on our dev > > > machines) > > > Is mail notif supported on Heroku? If yes, how to configure the mail > > > server settings? > > > You need a blessed app for outgoing communications from an application. > > Following this tutorial will get gmail working on > > heroku:http://www.danielfischer.com/2008/01/09/how-to-use-gmail-as-your-mail... > > > I used it myself and I can confirm it works. I've attached a 2KB > > working copy of the plugin tarball to this message. > > > To use it, Put this in /config/initializers/smtp_gmail.rb: > > > require "smtp_tls" > > ActionMailer::Base.smtp_settings = > > YAML.load_file("#{RAILS_ROOT}/config/mailer.yml") > > > and create /config/mailer.yml containing: > > > --- > > :address: smtp.gmail.com > > :port: 587 > > :user_name: [EMAIL PROTECTED] > > :password: passw0rd > > :authentication: :plain > > > Gmail should work just fine after that. > > > action_mailer_tls.tar.gz > > 1KDownload- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" 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/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
