I ran into exactly the same problem just now while diagnosing a different problem with the Sendgrid addon. I created a fresh Rails app, generated a mailer, pushed to Heroku and tried sending a message from the console. Not sure what's going on but it seems like something's broken somewhere.
In response to your other query, earlier in my diagnosis I got the username and password for my randomly generated sendgrid account and managed to use them to login to a sendgrid.com control panel. Based on that, I'd guess you would probably be able to use them for sending mail from development without any trouble :) Cheers Simon On Jan 24, 6:30 pm, outoftime <[email protected]> wrote: > Hi all, > > This is my first time using either Heroku or Sendgrid, and I have a > couple of questions: > > 1) As the subject line indicates, I'm getting a > Net::SMTPAuthenticationError when trying to send mail from the console > using an ActionMailer instance. I've enabled the sendgrid basic plugin > on my Heroku account; I got the impression that the configuration > would be automatically added to my app's production deployment at > runtime, so there's nothing special in my production config file. > Here's what ActionMailer::Base.smtp_settings returns when run from the > console: > > {:domain=>"heroku.com", :user_name=>"", :password=>"", > :address=>"smtp.sendgrid.net", :port=>"25", :authentication=>:plain} > > 2) Is it possible to use the Sendgrid account that Heroku > automatically sets up for me in development as well? At this point the > volume of emails I need to send is very small; just a few for testing > purposes. > > Thanks! > Mat -- 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.
