Can't send emails with rails

Hi i'm traing to send an email.
My pages seems to work correctly but i receive nothing.

Here is my enviroment.rb configuration for actionmailer

config.action_mailer.delivery_method = :SMTP
   config.action_mailer.smtp_settings = {
     :address => "smtp.MYDOMAIN.COM",
     :domain => "MYDOMAIN.COM",
     :authentication => :login,
     :user_name =>"my login to smtp server",
     :password =>"my password"
   }
   config.action_mailer.perform_deliveries = true
   config.action_mailer.raise_delivery_errors = true

Log show this:

Sent mail:

···

Date: Wed, 9 Jan 2008 12:57:16 +0100
From: THE RIGHT ADDRESS
To: THE RIGHT ADDRESS
Subject: mail di prova
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8

(obviously i masked with capital letters the real addresses)

Im working on a pc with an outlook with the same account configuration and
it works fine

Is there something wrong?
Why do i not receive anything?

thanks for help to a new rails user.

Hi rabarama, I guess you should ask this on a Rails-only mailing list,
but here's my working config file, on Rails 2:

ActionMailer::Base.smtp_settings = {
  :address => "mail.domain.com",
  :port => 25,
  :domain => "domain.com",
  :authentication => :login,
  :user_name => "user@domain.com",
  :password => "mypassword",
}

ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.default_content_type = "text/html"
ActionMailer::Base.default_charset = "UTF-8"

···

2008/1/9, rabarama <proftoglimipeloso@levamiyahoo.it>:

Hi i'm traing to send an email.

--
Jaime Iniesta
http://jaimeiniesta.com - http://railes.net

ActionMailer::Base.smtp_settings = {
:address => "mail.domain.com",
:port => 25,
:domain => "domain.com",
:authentication => :login,
:user_name => "user@domain.com",
:password => "mypassword",
}

ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.default_content_type = "text/html"
ActionMailer::Base.default_charset = "UTF-8"

Hi i'm traing to send an email.

I love you :wink:

Now it works!

can you suggest me a rails only mailinglist?

···

2008/1/9, rabarama <proftoglimipeloso@levamiyahoo.it>:

you can either the rails google group or nabble.com

···

On Jan 9, 9:07 am, "rabarama" <proftoglimipel...@levamiyahoo.it> wrote:

> ActionMailer::Base.smtp_settings = {
> :address => "mail.domain.com",
> :port => 25,
> :domain => "domain.com",
> :authentication => :login,
> :user_name => "u...@domain.com",
> :password => "mypassword",
> }

> ActionMailer::Base.perform_deliveries = true
> ActionMailer::Base.raise_delivery_errors = true
> ActionMailer::Base.default_content_type = "text/html"
> ActionMailer::Base.default_charset = "UTF-8"

> 2008/1/9, rabarama <proftoglimipel...@levamiyahoo.it>:
>> Hi i'm traing to send an email.

I love you :wink:

Now it works!

can you suggest me a rails only mailinglist?- Hide quoted text -

- Show quoted text -

http://dir.gmane.org/gmane.comp.lang.ruby.rails

you'll need an NNTP client such as Pan, or, for Windows, I think Forte.
More convenient than google groups or nabble, particularly if you
subscribe to more than two mailing lists :slight_smile:

Will that action mailer work with gmail?

thanks,

Thufir

···

On Wed, 09 Jan 2008 23:15:02 +0900, Junkone wrote:

can you suggest me a rails only mailinglist?- Hide quoted text -

- Show quoted text -

you can either the rails google group or nabble.com