# ActionMailer - Sent but no mail?

**URL:** <https://www.ruby-forum.com/t/actionmailer-sent-but-no-mail/48549>\
**Category:** Rails\
**Created:** [November 14, 2005, 10:41pm UTC](https://www.ruby-forum.com/t/actionmailer-sent-but-no-mail/48549 "2005-11-14T22:41:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![codeslush](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@codeslush](https://www.ruby-forum.com/u/codeslush)\
**Post date:** [November 14, 2005, 10:41pm UTC](https://www.ruby-forum.com/t/actionmailer-sent-but-no-mail/48549/1 "2005-11-14T22:41:26Z")

</div>

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](http://cox.net),  
[www.cox.net](http://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

---

<div class="post-metadata">

**Author:** ![codeslush](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@codeslush](https://www.ruby-forum.com/u/codeslush)\
**Post date:** [November 14, 2005, 11:02pm UTC](https://www.ruby-forum.com/t/actionmailer-sent-but-no-mail/48549/2 "2005-11-14T23:02:29Z")

</div>

Hi,  
my settings are like this:

ActionMailer::Base.delivery\_method = :smtp  
ActionMailer::Base.server\_settings = {  
:address =\> “[mail.mydomain.org](http://mail.mydomain.org)”,  
:port =\> 25,  
:domain =\> “[www.mydomain.org](http://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:

---

<div class="post-metadata">

**Author:** ![codeslush](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@codeslush](https://www.ruby-forum.com/u/codeslush)\
**Post date:** [November 14, 2005, 11:35pm UTC](https://www.ruby-forum.com/t/actionmailer-sent-but-no-mail/48549/3 "2005-11-14T23:35:35Z")

</div>

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](mailto: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](http://mail.mydomain.org)”,  
:port =\> 25,  
:domain =\> “[www.mydomain.org](http://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](http://cox.net),  
[www.cox.net](http://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](http://lists.rubyonrails.org/mailman/listinfo/rails)
