Re: [Radiant] Radiant Mailer Extension with TLS and gmail

2010-04-15 Thread Gabe Koss
hmm, still having no success. Its very confusing because I had it 
working both from heroku and localhost without tls (ie without gmail) 
but I need gmail for the client. Anyway in my logs it doesn't say mail 
sent at all and its clearly not interfacing with gmail on any level. It 
also isn't correctly redirecting.

Any more ideas?
Gabe

banane wrote:
 So you have sent mail successfully from heroku before? Yeah if it's a
 valid smtp send address, use it. For mine, I was on the domain that
 I'm sending from so I knew it was valid. If you've ever received an
 email from your old app, check the domain on the from address, and
 that's probably the one. Heroku may have some documentation on its
 smtp settings. So yeah, gmail requires a valid from sending address.

 On Wed, Apr 14, 2010 at 12:06 PM, Gabe Koss gabe.k...@gmail.com wrote:
   
 Ha I was psyched whn I found your post. Re: domain I do have a heroku sub:
 my-app.heroku.com. shouldnt that work as well?

 On Apr 14, 2010 1:23 PM, banane ban...@gmail.com wrote:

 You haven't set up a domain yet? The email has to come from somewhere.

 Thanks for reading my blog post! That was neat to see it in your email ;)

 Anna / banane


 On Wed, Apr 14, 2010 at 8:52 AM, Gabe Koss gabe.k...@gmail.com wrote:
 
 Hi everyone,

 I have t...
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

   
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

 
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

   

___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Radiant Mailer Extension with TLS and gmail

2010-04-15 Thread Gabe Koss

Sorry to send another email before getting a response. Here is something 
I noticed:

When I am on my contact form at /about/contact and I click Send on my 
form it redirects me to /pages/38/mail#mailer instead of  
/about/contact/thanks (which is what i defined in the YAML mailer part)

Somehow the mailer part of my page isn't working is the only reason I 
can think. My logs don't show any errors. I am really starting to 
scratch my head..

Gabe

banane wrote:
 So you have sent mail successfully from heroku before? Yeah if it's a
 valid smtp send address, use it. For mine, I was on the domain that
 I'm sending from so I knew it was valid. If you've ever received an
 email from your old app, check the domain on the from address, and
 that's probably the one. Heroku may have some documentation on its
 smtp settings. So yeah, gmail requires a valid from sending address.

 On Wed, Apr 14, 2010 at 12:06 PM, Gabe Koss gabe.k...@gmail.com wrote:
   
 Ha I was psyched whn I found your post. Re: domain I do have a heroku sub:
 my-app.heroku.com. shouldnt that work as well?

 On Apr 14, 2010 1:23 PM, banane ban...@gmail.com wrote:

 You haven't set up a domain yet? The email has to come from somewhere.

 Thanks for reading my blog post! That was neat to see it in your email ;)

 Anna / banane


 On Wed, Apr 14, 2010 at 8:52 AM, Gabe Koss gabe.k...@gmail.com wrote:
 
 Hi everyone,

 I have t...
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

   
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

 
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

   

___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Radiant Mailer Extension with TLS and gmail

2010-04-15 Thread Anton Aylward
Gabe Koss said the following on 04/15/2010 09:50 AM:
 hmm, still having no success. Its very confusing because I had it 
 working both from heroku and localhost without tls (ie without gmail) 
 but I need gmail for the client. Anyway in my logs it doesn't say mail 
 sent at all and its clearly not interfacing with gmail on any level. It 
 also isn't correctly redirecting.

As I posted some weeks ago, the 'traditional' set up is too awkward,
difficult to follow and as you are showing, very fragile.

If the host supporting your web site has mail capability at all, try
this instead of the awkward set-up you have been using and playing with.
It avoids all that TLS stuff.

In config/environment.rb put:

  ActionMailer::Base.delivery_method = :sendmail

Since you are inside the host, sendmail shouln't have to worry about
more than half of the set-up.  Yes, you'll still need your domain, you
might still need password, but you're making the local mail sub-system
do the work that you ere previously having to be very specific about.

I battled with the mailer extension for a week and was very frustrated,
but the moment I put that line in and restarted everything worked great!



-- 
inoculatte (v): To take coffee intravenously when you are running late.
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Radiant Mailer Extension with TLS and gmail

2010-04-15 Thread Gabe Koss
Thanks for the help I tried this addition without any success. I am 
using heroku to host. Now when I view the contact page on localhost it 
looks fine but still doesn't work and if I push to heroku and load the 
same page it says *undefined tag `mailer'

Gabe
*
Anton Aylward wrote:
 Gabe Koss said the following on 04/15/2010 09:50 AM:
   
 hmm, still having no success. Its very confusing because I had it 
 working both from heroku and localhost without tls (ie without gmail) 
 but I need gmail for the client. Anyway in my logs it doesn't say mail 
 sent at all and its clearly not interfacing with gmail on any level. It 
 also isn't correctly redirecting.
 

 As I posted some weeks ago, the 'traditional' set up is too awkward,
 difficult to follow and as you are showing, very fragile.

 If the host supporting your web site has mail capability at all, try
 this instead of the awkward set-up you have been using and playing with.
 It avoids all that TLS stuff.

 In config/environment.rb put:

   ActionMailer::Base.delivery_method = :sendmail

 Since you are inside the host, sendmail shouln't have to worry about
 more than half of the set-up.  Yes, you'll still need your domain, you
 might still need password, but you're making the local mail sub-system
 do the work that you ere previously having to be very specific about.

 I battled with the mailer extension for a week and was very frustrated,
 but the moment I put that line in and restarted everything worked great!



   

___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Radiant Mailer Extension with TLS and gmail

2010-04-15 Thread Anton Aylward
Gabe Koss said the following on 04/15/2010 10:28 AM:
 Thanks for the help I tried this addition without any success. I am 
 using heroku to host. Now when I view the contact page on localhost it 
 looks fine but still doesn't work and if I push to heroku and load the 
 same page it says *undefined tag `mailer'

I'm sure many of us faced the 'gap' between things working lcoally (mine
was my laptop) and out hosting site.  The ':sendmail' change is what
made it work for me at the hosting site :-)

However if you are getting that error then you either have a typo
somewhere or the extension (or a gem) isn't loaded (or loading
properly).  This moves the problem to one of 'pouring though the logs'.




-- 
The same applies for other kinds of long-lasting low-level pain. [...]
The body's response to being jabbed, pierced, and cut is to produce
endorphins. [...]  So here's my programme for breaking that cycle of
dependency on Windows: get left arm tattooed with dragon motif, buy a
crate of Jamaican Hot! Pepper Sauce, get nipples pierced.  With any
luck that will produce enough endorphins to make Windows completely
redundant, and I can then upgrade to Linux and get on with things.
-- Pieter Hintjens
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Radiant Mailer Extension with TLS and gmail

2010-04-15 Thread Anton Aylward
Gabe Koss said the following on 04/15/2010 11:07 AM:
 Thanks for all the help and patience!
 
 I am almost there. Now it seems to be sending the emails except they 
 aren't going anywhere. I am succesfully connnecting to the gmail smtp 
 but get a message stating: 504 5.7.4 Unrecognized Authentication Type. 

That, VERY SPECIFICALLY is why I use the :sendmail option !

I floundered with the authorization problem for nearly a week, inclduing
setting up new mail accounts at my hosting service!

 My auth type is set to :plain  in environmen.rb. At the end of the 
 action it claims to have sent my mail but I am still not receiving the 
 sent mail nor am I being redirected...
 
 The text of my mailer part reads:
 
 subject: Sent from your mailer form
 from_field: email
 redirect_to: /about/contact/thanks
 recipients:
   - gabe.k...@gmail.com
   - t...@gabekoss.com

That's nice but its not your problem.
Your problem is injecting your message into the host mail system.
That you are getting a 504 means you are using :smtp

So, why is :sendmail a problem for you?

Are you really addressing your local machine with this?
If the applciaiton and config/environment.rb are on MACHINE-A and the
reference you have in the mailer setup in
ActionMailer::Base.smtp_settings is MACHINE-B then this could cause
the problem.

You might *THINK* you are addressing the same machine but does the
machines resolver think so?

That is why using :sendmail is so much easier.

Check that sendmail is at /usr/sbin/sendmail and try sending by cat'ing
a file with appropriate headers though it.

ActionMailer::Base.delivery_method = :sendmail
ActionMailer::Base.perform_deliveries = true


If its not at /usr/sbin/sendmail you need to override the base settings,
which are

ActionMailer::Base.sendmail_settings = {
  :location   = '/usr/sbin/sendmail',
  :arguments  = '-i -t'
}

Try the command
which sendmail
to find it.
It may also be somewhere like /usr/lib/sendmail:-)



-- 
Better be despised for too anxious apprehensions, than ruined by too
confident security. --  Edmund Burke
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Radiant Mailer Extension with TLS and gmail

2010-04-15 Thread Gabe Koss
Perhaps it is because I am using Ubuntu and not a mac? I don't have 
sendmail in /usr/sbin/ or /usr/lib/ and I don't think that it would work 
from heroku...

Gabe

Anton Aylward wrote:
 Gabe Koss said the following on 04/15/2010 11:07 AM:
   
 Thanks for all the help and patience!

 I am almost there. Now it seems to be sending the emails except they 
 aren't going anywhere. I am succesfully connnecting to the gmail smtp 
 but get a message stating: 504 5.7.4 Unrecognized Authentication Type. 
 

 That, VERY SPECIFICALLY is why I use the :sendmail option !

 I floundered with the authorization problem for nearly a week, inclduing
 setting up new mail accounts at my hosting service!

   
 My auth type is set to :plain  in environmen.rb. At the end of the 
 action it claims to have sent my mail but I am still not receiving the 
 sent mail nor am I being redirected...

 The text of my mailer part reads:

 subject: Sent from your mailer form
 from_field: email
 redirect_to: /about/contact/thanks
 recipients:
   - gabe.k...@gmail.com
   - t...@gabekoss.com
 

 That's nice but its not your problem.
 Your problem is injecting your message into the host mail system.
 That you are getting a 504 means you are using :smtp

 So, why is :sendmail a problem for you?

 Are you really addressing your local machine with this?
 If the applciaiton and config/environment.rb are on MACHINE-A and the
 reference you have in the mailer setup in
 ActionMailer::Base.smtp_settings is MACHINE-B then this could cause
 the problem.

 You might *THINK* you are addressing the same machine but does the
 machines resolver think so?

 That is why using :sendmail is so much easier.

 Check that sendmail is at /usr/sbin/sendmail and try sending by cat'ing
 a file with appropriate headers though it.

 ActionMailer::Base.delivery_method = :sendmail
 ActionMailer::Base.perform_deliveries = true


 If its not at /usr/sbin/sendmail you need to override the base settings,
 which are

 ActionMailer::Base.sendmail_settings = {
   :location   = '/usr/sbin/sendmail',
   :arguments  = '-i -t'
 }

 Try the command
   which sendmail
 to find it.
 It may also be somewhere like /usr/lib/sendmail:-)



   

___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Radiant Mailer Extension with TLS and gmail

2010-04-15 Thread Anton Aylward
Gabe Koss said the following on 04/15/2010 11:58 AM:
 Perhaps it is because I am using Ubuntu and not a mac? I don't have 
 sendmail in /usr/sbin/ or /usr/lib/ and I don't think that it would work 
 from heroku...

Are you talking about your own machine or the machine where this
application is hosted?

The default mailer for many Linux packages is Postfix, but it has
/usr/sbin/sendmail as a link.

If you are talking about your own machine running Ubuntu then install
the postfix package and/or check the man page.

If you are talking about the hosting machine then why not ask them?
Its possible they didn't set yup that link or set it up elsewhere.

The issue isn't heroku: the issue is can ruby address services on the
host machine.  Or more specifically, can the code in ActionMailer
address services on the host machine.


OBTW: what did your logs say when you tried using :sendmail?


There is a simple test you can try.
From the command line enter

   echo Hello | mail -s Test gabe.k...@gmail.com

If that doens't work then all we're talking about is beside the point.



-- 
I don't know the key to success, but the key to failure is trying to
please everybody
  -- Bill Cosby
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Radiant Mailer Extension with TLS and gmail

2010-04-15 Thread Gabe Koss
I finally got it working. I just wanted to attach my solution to this 
thread in case anyone else encounters the same problems.

I ended up realizing that the problem had to do with the domain coming 
out of the heroku grid. I found that heroku has an addon called 
sendgrid which interacts nicely with ActionMailer. Following these 
instructions (http://docs.heroku.com/sendgrid) plus a little bit of 
settings wrangling and a server restart I got it working!

Thanks Anton and Banane for all your help. The awesome community of 
people working with radiant is one of the main reasons I have chosen to 
use this CMS. Sorry about all the dead ends in this thread.

Gabe


Anton Aylward wrote:
 Gabe Koss said the following on 04/15/2010 11:07 AM:
   
 Thanks for all the help and patience!

 I am almost there. Now it seems to be sending the emails except they 
 aren't going anywhere. I am succesfully connnecting to the gmail smtp 
 but get a message stating: 504 5.7.4 Unrecognized Authentication Type. 
 

 That, VERY SPECIFICALLY is why I use the :sendmail option !

 I floundered with the authorization problem for nearly a week, inclduing
 setting up new mail accounts at my hosting service!

   
 My auth type is set to :plain  in environmen.rb. At the end of the 
 action it claims to have sent my mail but I am still not receiving the 
 sent mail nor am I being redirected...

 The text of my mailer part reads:

 subject: Sent from your mailer form
 from_field: email
 redirect_to: /about/contact/thanks
 recipients:
   - gabe.k...@gmail.com
   - t...@gabekoss.com
 

 That's nice but its not your problem.
 Your problem is injecting your message into the host mail system.
 That you are getting a 504 means you are using :smtp

 So, why is :sendmail a problem for you?

 Are you really addressing your local machine with this?
 If the applciaiton and config/environment.rb are on MACHINE-A and the
 reference you have in the mailer setup in
 ActionMailer::Base.smtp_settings is MACHINE-B then this could cause
 the problem.

 You might *THINK* you are addressing the same machine but does the
 machines resolver think so?

 That is why using :sendmail is so much easier.

 Check that sendmail is at /usr/sbin/sendmail and try sending by cat'ing
 a file with appropriate headers though it.

 ActionMailer::Base.delivery_method = :sendmail
 ActionMailer::Base.perform_deliveries = true


 If its not at /usr/sbin/sendmail you need to override the base settings,
 which are

 ActionMailer::Base.sendmail_settings = {
   :location   = '/usr/sbin/sendmail',
   :arguments  = '-i -t'
 }

 Try the command
   which sendmail
 to find it.
 It may also be somewhere like /usr/lib/sendmail:-)



   

___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Radiant Mailer Extension with TLS and gmail

2010-04-15 Thread banane
No problem- glad you got it fixed!

Anti-spam efforts make the from-domain a pretty rigid config.

On Thu, Apr 15, 2010 at 9:17 AM, Gabe Koss gabe.k...@gmail.com wrote:
 I finally got it working. I just wanted to attach my solution to this
 thread in case anyone else encounters the same problems.

 I ended up realizing that the problem had to do with the domain coming
 out of the heroku grid. I found that heroku has an addon called
 sendgrid which interacts nicely with ActionMailer. Following these
 instructions (http://docs.heroku.com/sendgrid) plus a little bit of
 settings wrangling and a server restart I got it working!

 Thanks Anton and Banane for all your help. The awesome community of
 people working with radiant is one of the main reasons I have chosen to
 use this CMS. Sorry about all the dead ends in this thread.

 Gabe


 Anton Aylward wrote:
 Gabe Koss said the following on 04/15/2010 11:07 AM:

 Thanks for all the help and patience!

 I am almost there. Now it seems to be sending the emails except they
 aren't going anywhere. I am succesfully connnecting to the gmail smtp
 but get a message stating: 504 5.7.4 Unrecognized Authentication Type.


 That, VERY SPECIFICALLY is why I use the :sendmail option !

 I floundered with the authorization problem for nearly a week, inclduing
 setting up new mail accounts at my hosting service!


 My auth type is set to :plain  in environmen.rb. At the end of the
 action it claims to have sent my mail but I am still not receiving the
 sent mail nor am I being redirected...

 The text of my mailer part reads:

 subject: Sent from your mailer form
 from_field: email
 redirect_to: /about/contact/thanks
 recipients:
   - gabe.k...@gmail.com
   - t...@gabekoss.com


 That's nice but its not your problem.
 Your problem is injecting your message into the host mail system.
 That you are getting a 504 means you are using :smtp

 So, why is :sendmail a problem for you?

 Are you really addressing your local machine with this?
 If the applciaiton and config/environment.rb are on MACHINE-A and the
 reference you have in the mailer setup in
 ActionMailer::Base.smtp_settings is MACHINE-B then this could cause
 the problem.

 You might *THINK* you are addressing the same machine but does the
 machines resolver think so?

 That is why using :sendmail is so much easier.

 Check that sendmail is at /usr/sbin/sendmail and try sending by cat'ing
 a file with appropriate headers though it.

 ActionMailer::Base.delivery_method = :sendmail
 ActionMailer::Base.perform_deliveries = true


 If its not at /usr/sbin/sendmail you need to override the base settings,
 which are

 ActionMailer::Base.sendmail_settings = {
   :location       = '/usr/sbin/sendmail',
   :arguments      = '-i -t'
 }

 Try the command
       which sendmail
 to find it.
 It may also be somewhere like /usr/lib/sendmail    :-)





 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


[Radiant] Radiant Mailer Extension with TLS and gmail

2010-04-14 Thread Gabe Koss
Hi everyone,

I have the radiant mailer extension installed and I had it working just 
fine. I want to start using a gmail account to send the form info. In 
order to support TLS i followed bananes guide found here:

http://www.banane.com/2009/10/27/radiant-mailer-extension-installation-basics/

Unfortunately my site no longer sends mail. The logs previously said 
email sent to recipi...@site.com and now there is no message. There is 
also no error message. The server starts up fine and

One thought was that I had the mailer extension already installed and 
just added the plugin on top of that. would I need to reinsall the 
extension again over it?

My environments.rb file contains:

 config.frameworks -= [ ]
 ...
 ...
 ActionMailer::Base.delivery_method = :smtp
 ActionMailer::Base.raise_delivery_errors = true
 ...
 ...
#Action mailer config
  ActionMailer::Base.smtp_settings = {
  :tls = true,
  :address = smtp.gmail.com,
  :port = 587,
  :domain = domain.com, # should this be domain.heroku.com, if 
I haven't set up a domain yet? does it matter?
  :authentiation = :plain,
  :user_name = em...@gmail.com,
  :password = topsecretpassword
 }

When I do a form submit my log looks like:

Processing MailController#create (for 192.168.1.105 at 2010-04-14
08:49:20) [POST]
  Parameters: {page_id=38, action=create,
mailer={name=test, message=test, email=test},
controller=mail}
New RightAws::S3Interface using single-threaded mode
...
...
...
Completed in 1332ms (View: 1, DB: 27) | 200 OK
[http://192.168.1.112/pages/38/mail]


Any insights would be much appreciated!

Thanks,
Gabe
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Radiant Mailer Extension with TLS and gmail

2010-04-14 Thread banane
You haven't set up a domain yet? The email has to come from somewhere.

Thanks for reading my blog post! That was neat to see it in your email ;)

Anna / banane

On Wed, Apr 14, 2010 at 8:52 AM, Gabe Koss gabe.k...@gmail.com wrote:
 Hi everyone,

 I have the radiant mailer extension installed and I had it working just
 fine. I want to start using a gmail account to send the form info. In
 order to support TLS i followed bananes guide found here:

 http://www.banane.com/2009/10/27/radiant-mailer-extension-installation-basics/

 Unfortunately my site no longer sends mail. The logs previously said
 email sent to recipi...@site.com and now there is no message. There is
 also no error message. The server starts up fine and

 One thought was that I had the mailer extension already installed and
 just added the plugin on top of that. would I need to reinsall the
 extension again over it?

 My environments.rb file contains:

     config.frameworks -= [ ]
     ...
     ...
     ActionMailer::Base.delivery_method = :smtp
     ActionMailer::Base.raise_delivery_errors = true
     ...
     ...
    #Action mailer config
      ActionMailer::Base.smtp_settings = {
      :tls = true,
      :address = smtp.gmail.com,
      :port = 587,
      :domain = domain.com, # should this be domain.heroku.com, if
 I haven't set up a domain yet? does it matter?
      :authentiation = :plain,
      :user_name = em...@gmail.com,
      :password = topsecretpassword
     }

 When I do a form submit my log looks like:

    Processing MailController#create (for 192.168.1.105 at 2010-04-14
    08:49:20) [POST]
      Parameters: {page_id=38, action=create,
    mailer={name=test, message=test, email=test},
    controller=mail}
    New RightAws::S3Interface using single-threaded mode
    ...
    ...
    ...
    Completed in 1332ms (View: 1, DB: 27) | 200 OK
    [http://192.168.1.112/pages/38/mail]


 Any insights would be much appreciated!

 Thanks,
 Gabe
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Radiant Mailer Extension with TLS and gmail

2010-04-14 Thread Gabe Koss
Ha I was psyched whn I found your post. Re: domain I do have a heroku sub:
my-app.heroku.com. shouldnt that work as well?

On Apr 14, 2010 1:23 PM, banane ban...@gmail.com wrote:

You haven't set up a domain yet? The email has to come from somewhere.

Thanks for reading my blog post! That was neat to see it in your email ;)

Anna / banane


On Wed, Apr 14, 2010 at 8:52 AM, Gabe Koss gabe.k...@gmail.com wrote:
 Hi everyone,

 I have t...
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Radiant Mailer Extension with TLS and gmail

2010-04-14 Thread banane
So you have sent mail successfully from heroku before? Yeah if it's a
valid smtp send address, use it. For mine, I was on the domain that
I'm sending from so I knew it was valid. If you've ever received an
email from your old app, check the domain on the from address, and
that's probably the one. Heroku may have some documentation on its
smtp settings. So yeah, gmail requires a valid from sending address.

On Wed, Apr 14, 2010 at 12:06 PM, Gabe Koss gabe.k...@gmail.com wrote:
 Ha I was psyched whn I found your post. Re: domain I do have a heroku sub:
 my-app.heroku.com. shouldnt that work as well?

 On Apr 14, 2010 1:23 PM, banane ban...@gmail.com wrote:

 You haven't set up a domain yet? The email has to come from somewhere.

 Thanks for reading my blog post! That was neat to see it in your email ;)

 Anna / banane


 On Wed, Apr 14, 2010 at 8:52 AM, Gabe Koss gabe.k...@gmail.com wrote:
 Hi everyone,

 I have t...
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org