Simpleforms emailing problem

A forum for Bolt related questions / issues

Simpleforms emailing problem

Postby MRKeg » Sun May 18, 2014 8:48 pm

Hi

Love the simple, clean interface. As a non-programmer I even understand some of it! Keep up the good work.

I'm trying to use Simpleforms to create a competition entry form.

I've edited:
app/extensions/SimpleForms/config.yml
to add a new form and updated the entries to suit my system as follows:
Code: Select all
osentrydewar:
  recipient_email: squadding@egtsc.co.uk
  recipient_name: Squadding
#  recipient_cc_email: another@example.com
#  recipient_cc_name: Another Email Address
  fields:
    subject:
      type: text
      class: wide
      required: false
      label: Subject of your message
      placeholder: Just a quick test message ..
    name:
      type: text
      required: true
      placeholder: Your name ..
    email:
      type: email
      label: Email address
      required: true
      placeholder: Your email ..
      use_as: from_email
      use_with: name

Based on entries of:
name: Mike
email: mike@kettle.me.uk

I'm expecting an email from Mike<mike@kettle.me.uk> addressed to Squadding<squadding@egtsc.co.uk>

When I fill in the form and submit it I get an email from squadding<squadding@egtsc.co.uk> addressed to Squadding <mike@kettle.me.uk>.

Am I misunderstanding the fieldnames or is there a slight glitch in the code?
MRKeg
 
Posts: 3
Joined: Sun Apr 20, 2014 7:32 pm

Re: Simpleforms emailing problem

Postby streeff » Mon May 19, 2014 8:30 am

Are you still working in test mode, perhaps?

If so, set
Code: Select all
testmode : true

to
Code: Select all
testmode : false
Evert Albers, Streeff - web // branding // information design - Amersfoort & Amsterdam, NL
Site: http://www.streeff.nl
User avatar
streeff
 
Posts: 146
Joined: Sat Jul 25, 2009 9:28 pm
Location: Amersfoort, NL

Re: Simpleforms emailing problem

Postby MRKeg » Mon May 26, 2014 10:59 am

Many thanks. I didn't spot it because all the email addreses I used came back to me anyway. :oops:
MRKeg
 
Posts: 3
Joined: Sun Apr 20, 2014 7:32 pm


Return to Bolt Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron