I reckon as long as you have a SMTP server running on your local machine at port 25 you should be good to go.
tashfeen.ekram wrote: > if i dont own a domain and am just interested in sending emails from > dev environment on my laptop would the config look like this: > > config.action_mailer.raise_delivery_errors = true > config.action_mailer.delivery_method = :smtp > > config.action_mailer.smtp_settings = { > :address => "localhost", > :port => 25 > } > > On Apr 5, 6:00 pm, Schalk Neethling <volume4.sch...@gmail.com> wrote: >> Hi there, >> >> Setting that has always worked for me without fail is: >> >> config.action_mailer.raise_delivery_errors = true >> config.action_mailer.delivery_method = :smtp >> >> config.action_mailer.smtp_settings = { >> :address => "mail.yourdomain.com", >> :port => 25, >> :domain => "yourdomain.com" >> } >> >> HTH, >> Schalk >> >> tashfeen.ekram wrote: >>> sorry message got truncated. >>> i have looked around but find no solutions... >>> On Apr 5, 3:58 pm, "tashfeen.ekram" <tashfeen.ek...@gmail.com> wrote: >>>> I am on ubuntu machine. i want to just do simple testing of sending >>>> emails. >>>> i first tried postfix, then mailtrap (http://rubypond.com/articles/ >>>> 2007/11/16/trap-rails-from-sending-mail-via-smtp/) to no avail. i keep >>>> getting timed out error. >>>> for postfix my settings were: >>>> config.action_mailer.smtp_settings = { >>>> :address => 'localhost', >>>> :port => 25, >>>> :domain => 'www.example.com' >>>> } >>>> i tried changing to port 2525 to use mailtrap and got the same error. >>>> is there something essential i am missing? >>>> i just want to be able to send emails to test funcinality. not receive >>>> and nothing else. i searched around but i can not >> >> >> volume4_schalk.vcf >> < 1KViewDownload > > > --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
begin:vcard fn:Schalk Neethling n:Neethling;Schalk org:Overt Strategy Consulting adr:Florauna;;Berg ave 642;Pretoria;Gauteng;0182;South Africa email;internet:sch...@overtstrategyconsulting.com title:President tel;work:+27125468436 x-mozilla-html:FALSE url:http://www.overtstrategyconsulting.com version:2.1 end:vcard