Forum: Ruby on Rails ActionMailer - Sent but no mail?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
codeslush (Guest)
on 2005-11-14 23:41
(Received via mailing list)
Hi,

  I am attempting to use ActionMailer to send out an email (SMTP) and am
having an issue.  The log files show that the email is sent, but the
email is not making it to my inbox.

  I have followed the documentation both on the Wiki and in the AWD
book.  I'm not sure which setting I have incorrect and need some
pointers.

  :authentication  - should this be set to true, or :login, :plain,
etc..???  I'm finding conflicting documentation.

  :domain - Not quite sure what to put here.  I have tried cox.net,
www.cox.net, etc...  I even took the HELO domain from one of the headers
generated from my email client and I still didn't get the email to come
into my account.

  Is there any way to get error messages from failed emails?  The
development log file doesn't show anything other than "Sent mail: "
followed by the email I submitted.  This should not be a relay issue
because I'm attempting to use the actual smtp server of my ISP.

  Any guidance is greatly appreciated.

  Regards,

  Michael
ettober (Guest)
on 2005-11-15 00:02
(Received via mailing list)
Hi,
my settings are like this:

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.server_settings = {
   :address        => "mail.mydomain.org",
   :port           => 25,
   :domain         => "www.mydomain.org",
   :authentication => :login,
   :user_name      => "xxxxxx",
   :password       => "xxxxx"}
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.default_charset = "utf-8"

it works fine

hope it helps

Ettore

Il giorno 14/nov/05, alle ore 22:38, Michael ha scritto:
codeslush (Guest)
on 2005-11-15 00:35
(Received via mailing list)
Ettore,

  I have the same settings - but still no luck.  In fact, I have gone so
far as to provide invalid credentials just to see if I can get an error
to show up and I don't get anything indicating invalid credentials.

  Does anyone have any other input for this?  Or possibly other things I
can try?  Is there any way to capture any error messages that may take
place?

  Thanks for any input or experiences you may have!

  Michael


Ettore B. <removed_email_address@domain.invalid> wrote:
  Hi,  my settings are like this:


  ActionMailer::Base.delivery_method = :smtp
  ActionMailer::Base.server_settings = {
    :address        => "mail.mydomain.org",
    :port           => 25,
    :domain         => "www.mydomain.org",
    :authentication => :login,
    :user_name      => "xxxxxx",
    :password       => "xxxxx"}
  ActionMailer::Base.perform_deliveries = true
  ActionMailer::Base.raise_delivery_errors = true
  ActionMailer::Base.default_charset = "utf-8"


  it works fine


  hope it helps


  Ettore

    Il giorno 14/nov/05, alle ore 22:38, Michael ha scritto:

    Hi,

  I am attempting to use ActionMailer to send out an email (SMTP) and am
having an issue.  The log files show that the email is sent, but the
email is not making it to my inbox.

  I have followed the documentation both on the Wiki and in the AWD
book.  I'm not sure which setting I have incorrect and need some
pointers.

  :authentication  - should this be set to true, or :login, :plain,
etc..???  I'm finding conflicting documentation.

  :domain - Not quite sure what to put here.  I have tried cox.net,
www.cox.net, etc...  I even took the HELO domain from one of the headers
generated from my email client and I still didn't get the email to come
into my account.

  Is there any way to get error messages from failed emails?  The
development log file doesn't show anything other than "Sent mail: "
followed by the email I submitted.  This should not be a relay issue
because I'm attempting to use the actual smtp server of my ISP.

  Any guidance is greatly appreciated.

  Regards,

  Michael




---------------------------------
  Yahoo! FareChase - Search multiple travel sites in one click.
_______________________________________________
  Rails mailing list
  removed_email_address@domain.invalid
  http://lists.rubyonrails.org/mailman/listinfo/rails
This topic is locked and can not be replied to.