My environment.tb file has these lines at the VERY bottom of it, with
nothing coming after the closed bracket:
ActionMailer::Base.server_settings = {
:address = aromatherapymassageyeovil.co.uk,
:port = 25,
:domain = 'aromatherapymassageyeovil.co.uk',
:user_name = username,
Oliver,
Can you post your config part and whats in your environment.rb file.
I can't for the life of me get the mailer behavior/extension to work
on ASmallOrange.
Specifically, what username and server are you using?
Thanks,
BJ Clark
On 1/26/07, Michael Roper [EMAIL PROTECTED] wrote:
=] no
Hi.
I have just installed the Mailer behaviour for Radiant CMS.
My hosting is with A Small Orange.
When trying to test the form I get the error:
Error encountered while trying to send email. 550 Administrative
prohibition
I have added the config part to the page and also in the environment.rb
Same problem here, I wasn't able to make it work.
2007/1/26, Oliver Coningham [EMAIL PROTECTED]:
Hi.
I have just installed the Mailer behaviour for Radiant CMS.
My hosting is with A Small Orange.
When trying to test the form I get the error:
Error encountered while trying to send email.
Ok, so I have it working now - it will send an email.
It seemed that the thing it didn't like was the email address that I
used in the config part.
I am still having a problem tho - how do I create the body (main text of
the email) from my form?
I was using an email part of the Contact pag
Oliver,
In the mailer extension, I chose to change the way that the email was being
sent from how Matt originally did it in the behavior. For the most part and
in most email clients, it works just fine, and I had used this format in a
previous Rails application that sent email. If someone can
Sorry Sean, what do you mean by your post exactly? Is that just the way
it is, that it will come thru as a text file?
I am using Hotmail to view the email - will that have any effect?
Sean Cribbs wrote:
Oliver,
In the mailer extension, I chose to change the way that the email was
being
I opened the email using Thunderbird and it apearred fine.
However, the subject of the email comes thru as:
Form Mail from www.aromatherapymassageyeovil.co.uk
Am I able to change this somehow?
Oliver Coningham wrote:
Sorry Sean, what do you mean by your post exactly? Is that just the way
it
Oh, I see what you mean. Use the subject: line in your 'config' part, just
as you do for the from, recipients, etc.
Sean
On 1/26/07, Oliver Coningham [EMAIL PROTECTED] wrote:
I opened the email using Thunderbird and it apearred fine.
However, the subject of the email comes thru as:
Form
My config part is at follows:
mailers:
contact:
subject: Contact Form
from: [EMAIL PROTECTED]
redirect_to: /contact/thank-you/
recipients:
- [EMAIL PROTECTED]
But it doesn't seem to make any difference to the subject line?
Sean Cribbs wrote:
Oh, I see what you
Oh, I'm sorry. You're using the mailer behavior and not the extension. My
bad. I had that problem too, so I fixed it in the behavior.
Sean
On 1/26/07, Oliver Coningham [EMAIL PROTECTED] wrote:
My config part is at follows:
mailers:
contact:
subject: Contact Form
from: [EMAIL
How is the best way to fix this then?
Cribbs wrote:
Oh, I'm sorry. You're using the mailer behavior and not the extension.
My
bad. I had that problem too, so I fixed it in the behavior.
Sean
--
Posted via http://www.ruby-forum.com/.
___
I mean it's not really a major problem as such in the grand schemes of
things, but would be good to know how to change the email subject...
Oliver Coningham wrote:
How is the best way to fix this then?
Cribbs wrote:
Oh, I'm sorry. You're using the mailer behavior and not the extension.
try putting this in between your r:mailer:form tags..
r:mailer:hidden name=subject value=Your subject here! /
works for me, not sure why it doesnt the other way..
On 1/26/07, Oliver Coningham [EMAIL PROTECTED] wrote:
I mean it's not really a major problem as such in the grand schemes of
14 matches
Mail list logo