[Radiant] Troubles with mailer extension
Hello! I'm trying to build a contact form using the Mailer extension. I've followed step by step the documentation, but I can't find the way. When clicking at Submit form, it do not deliver the message and forward to this path /pages/84/mail#mailer I'm using 2 forms inside the same Page. One called form1 and the other form2. Is it the right way of doing it? I've a page called mail, with 2 page parts: mailer and email Mail r:mailer:form name='form' fieldset legendEnter your contact information and message./legendbr label class=yournameYour name span class=bg-k*/span r:text name='name' class='input'//labelbr label class=yourcompanyYour Company span class=bg-k*/span r:text name='company' class='input'//labelbr labelYour E-mail r:text name='email' class='input'//labelbr labelYour message span class=bg-k*/span r:textarea name='message' class='textarea' //labelbr input type=submit value=Send class=formboton /fieldset /r:mailer:form Mailer subject: Contact from website from_field: email recipients: - paulamari...@gmail.com Email from: r:mailer:get name='name'/ company: r:mailer:get name='company'/ email: r:mailer:get name='email'/ message: r:mailer:get name='message'/ and the configuration .rb is properly configured. Any clues? Thanks very much! -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Troubles with mailer extension
Paula, You should be using the following tag syntax for the form fields: r:mailer:text name=name / See the Usage section here: http://github.com/radiant/radiant-mailer-extension -- Travis D Warlick, Jr Lead Developer -- Operis Systems On Oct 26, 2009, at 9:26 AM, María Paula Mariani wrote: Hello! I'm trying to build a contact form using the Mailer extension. I've followed step by step the documentation, but I can't find the way. When clicking at Submit form, it do not deliver the message and forward to this path /pages/84/mail#mailer I'm using 2 forms inside the same Page. One called form1 and the other form2. Is it the right way of doing it? I've a page called mail, with 2 page parts: mailer and email Mail r:mailer:form name='form' fieldset legendEnter your contact information and message./legendbr label class=yournameYour name span class=bg-k*/span r:text name='name' class='input'//labelbr label class=yourcompanyYour Company span class=bg-k*/span r:text name='company' class='input'//labelbr labelYour E-mail r:text name='email' class='input'//labelbr labelYour message span class=bg-k*/span r:textarea name='message' class='textarea' //labelbr input type=submit value=Send class=formboton /fieldset /r:mailer:form Mailer subject: Contact from website from_field: email recipients: - paulamari...@gmail.com Email from: r:mailer:get name='name'/ company: r:mailer:get name='company'/ email: r:mailer:get name='email'/ message: r:mailer:get name='message'/ and the configuration .rb is properly configured. Any clues? Thanks very much! -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Troubles with mailer extension
On Mon, Oct 26, 2009 at 9:37 AM, Travis D. Warlick, Jr. warli...@operissystems.com wrote: You should be using the following tag syntax for the form fields: r:mailer:text name=name / See the Usage section here: http://github.com/radiant/radiant-mailer-extension not true. everything inside r:mailer:form is already in the r:mailer... namespace so r:mailer:form r:mailer:text... is exactly the same as r:mailer:form r:text... (this is pretty much true of all radius tags) On Oct 26, 2009, at 9:26 AM, María Paula Mariani wrote: I'm trying to build a contact form using the Mailer extension. I've followed step by step the documentation, but I can't find the way. When clicking at Submit form, it do not deliver the message and forward to this path /pages/84/mail#mailer that url suggest you haven't set `Radiant::Config['mailer.post_to_page?'] = true`. see http://wiki.github.com/radiant/radiant/mailer-extension i also see that you're trying to send to an @gmail.com address so i'm guessing that you're using the gmail smtp server; if that's the case and you're running ruby 1.8.6 you'll need to install the action_mailer_tls rails plugin. if none of that helps could you provide more details on your setup. action mailer config, smtp provider, ruby version, radiant version etc. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Troubles with mailer extension
On Mon, Oct 26, 2009 at 1:04 PM, john muhl johnm...@gmail.com wrote: On Mon, Oct 26, 2009 at 9:37 AM, Travis D. Warlick, Jr. warli...@operissystems.com wrote: You should be using the following tag syntax for the form fields: r:mailer:text name=name / See the Usage section here: http://github.com/radiant/radiant-mailer-extension not true. everything inside r:mailer:form is already in the r:mailer... namespace so r:mailer:form r:mailer:text... is exactly the same as r:mailer:form r:text... (this is pretty much true of all radius tags) On Oct 26, 2009, at 9:26 AM, María Paula Mariani wrote: I'm trying to build a contact form using the Mailer extension. I've followed step by step the documentation, but I can't find the way. When clicking at Submit form, it do not deliver the message and forward to this path /pages/84/mail#mailer that url suggest you haven't set `Radiant::Config['mailer.post_to_page?'] = true`. see http://wiki.github.com/radiant/radiant/mailer-extension i also see that you're trying to send to an @gmail.com address so i'm guessing that you're using the gmail smtp server; if that's the case and you're running ruby 1.8.6 you'll need to install the action_mailer_tls rails plugin. if none of that helps could you provide more details on your setup. action mailer config, smtp provider, ruby version, radiant version etc. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant Hi! Thanks very much for your answers! I've tried using this format r:mailer:text name=name / but I keep having the same troubles. I've added `Radiant::Config['mailer.post_to_page?'] = true` to the environment.rb file, to the very last line, and made again the deploy. Now the URL I see after submitting is /pages/71/mail#mailer, should I set a thank_you page? We are running ruby 1.8.6, I will install the plugin suggested. By the way, a mailer section for multiple recipients should look this way? Mailer subject: Contact from website from_field: email recipients: - paulamari...@gmail.com - anot...@gmail.com paulamari...@gmail.com - n...@name paulamari...@gmail.com.com paulamari...@gmail.com Thanks very much! -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Troubles with mailer extension
2009/10/26 María Paula Mariani paulamari...@gmail.com i also see that you're trying to send to an @gmail.com address so i'm guessing that you're using the gmail smtp server; if that's the case and you're running ruby 1.8.6 you'll need to install the action_mailer_tls rails plugin. Hi! I've installed the action_mailer_tls gem, should I include it this way before the Action Mailer SMTP configuration require 'smtp_tls' or it is not needed? Thanks very much, -- Paula ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Troubles with mailer extension
i also see that you're trying to send to an @gmail.com address so i'm guessing that you're using the gmail smtp server; if that's the case and you're running ruby 1.8.6 you'll need to install the action_mailer_tls rails plugin. I've installed the action_mailer_tls gem, should I include it this way before the Action Mailer SMTP configuration require 'smtp_tls' or it is not needed? from what i understand it's not needed. see the first comment here: http://apidock.com/rails/ActionMailer/Base ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant