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(r) 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
on 24.10.2008 23:58
on 25.10.2008 09:28
On Oct 24, 11:58 pm, Joshua Muheim <rails-mailing-l...@andreas-s.net> 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.
on 29.10.2008 19:49
Henrik --- wrote: > On Oct 24, 11:58�pm, Joshua Muheim <rails-mailing-l...@andreas-s.net> > 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. :-)