Most time what's wrong is the smtp server.
You should check the smtp server in your machine. If it works well
when you use other client-email application to connect it, please
check the email settings.
And then, you can set the settings to other server.
Such as gmail.
For gmail, you should know the tls.
Good luck.

On Apr 6, 3:58 am, "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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to