[Radiant] RadiantCMS Action Mailer
rainer griess
mynewnews at gmx.net
Mon Mar 3 05:26:22 CST 2008
Hi,
On 03.03.2008, at 12:01, 1842759193 wrote:
> Hi Rainer,
>
> I posted earlier about the Mailer Extension and haven't got a decent
> answer back on it. Would I be able to ask you to tell me your mailer
> config and page sections are?
sure!
In my config/environment.rb it looks like this (as described in the
FAQ):
config.frameworks -= [ :action_web_service ]
Then you have to add:
# Configure ActionMailer for Mailer extension
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.smtp_settings = {
:address => "localhost",
:port => 25,
:domain => "your.domain.au"
}
It is important to add this block *after* the Radiant.initializer loop
which reads like this:
Radiant::Initializer.run do |config| [...]
I had to install the actionmailer gem manually. It was not
autmatically installed with rails.
In radiant I defined a page as "Mailer" (drop down menu) and added
three page party "body", "config" and "email". Everything in it was
configured according to the HOWTO.
I hope this was some help for you,
rainer
More information about the Radiant
mailing list