Verify that an email is sent?


#1

Hi all

I’m trying to get my actionmailer to work. I’ve set the following params
in my environment.rb:

config.action_mailer.smtp_settings = {
:address => “mail.???.ch”,
:port => 25,
:domain => “???.ch”,
:authentication => :login,
:user_name => “???”,
:password => “???”
}
config.action_mailer.default_charset = “utf-8”

So far, everything seems to work, the log is:

Sent mail:
Date: Fri, 24 Oct 2008 23:53:16 +0200
To: ???@???.ch
Subject: =?utf-8?Q?Hippie=2dWG_CD=2dShop_Bestellungsbest=c3=a4tigung?=
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8

Liebe® bla,

Deine Bestellung ist bei uns angekommen:

But I didn’t receive any email yet. What could be the problem? I tried
it with wrong settings in environment.rb (so it shouldn’t be able to
connect to the email server), but it still stated everything went
successful.

How can I “debug” this stuff? Is there something I have to set on my
email server?

Thanks for help
Josh


#2

On Oct 24, 11:58 pm, Joshua M. removed_email_address@domain.invalid
wrote:

I’m trying to get my actionmailer to work.

How can I “debug” this stuff? Is there something I have to set on my
email server?

Make sure you have
config.action_mailer.raise_delivery_errors = true
in config/environments/development.rb.


#3

Henrik — wrote:

On Oct 24, 11:58�pm, Joshua M. removed_email_address@domain.invalid
wrote:

I’m trying to get my actionmailer to work.

How can I “debug” this stuff? Is there something I have to set on my
email server?

Make sure you have
config.action_mailer.raise_delivery_errors = true
in config/environments/development.rb.

Thanks a lot. :slight_smile: