Greyhead.net

Home ChronoForms How-to docs CFv4 Email [GH] action

CFv4 Email [GH] action

CFv4 Email [GH] action

This is a new custom Email action for ChronoForms v4 that adds extra flexibility for advanced users.

  • New Conditional box enables the Email Setup only if a form input has a specified value e.g. send_email = Yes
  • The Static and Dynamic tabs have been combined on a new Email Setup tab.
  • All of the boxes on the Email Setup tab will accept the ‘curly bracket’ syntax allowing you to add a combination of ‘static’ and ‘dynamic’ entries to each box e.g. To: This e-mail address is being protected from spambots. You need JavaScript enabled to view it , {input_text_0}
  • The File attachments box will handle either uploaded files, or files from a site folder.
  • Most of the boxes on the Email Setup tab now have default values set (except the To Email box) so are no longer 'required'.
  • The Debug information is much fuller.
  • Allows the sending of individual emails to a list of recipients
  • Includes language files, but only an English version so far.

Note: This action is for ChronoForms v4 only; it should work with both the Joomla! 1.5 and 1.6/1.7/2.5 versions.

Please install using the Install Action icon on the ChronoForms Forms Manager toolbar.

Changelog

  • 13 Dec 2011 : fixed bug with CC & BCC addresses in Joomla! 1.5
  • 11 Jan 2012 : fixed bug with 'continue' in Conditional test, updated help
  • 02 Feb 2012 : added over-ride for Dynamic From Email and added Template Generator button
  • 14 Feb 2012 : updated send error message to show Joomla! exception report
  • 31 Mar 2012 : added 'Individual emails' option
  •   : added language files
  • 20 Apr 2012 : fixed bugs in HTML filter, from name and error messages
  • 22 Apr 2012 : added parsing for nested curly brackets e.g. {a.b.c}
  •   : added curly bracket support for Reply To Email and fixed label in debug output
  •   : added support for multiple Reply To Emails
  •   : fixed bug where Admin Reply to was added by using JFactory::getMailer()
  • 01 May 2012; : removed two lines of debug text left by mistake

This is an advanced Email Action for ChronoForms v4 on Joomla! 2.5. It has the same basic functions as the standard Email Action but adds more features and uses slightly different code in the configuration.

The General tab

  • Use the Enabled drop-down to enable or disable individual emails.
  • The Conditional box is a new feature that allows you to make emails conditional on form inputs. Enter {input_name}::value to set a condition e.g. {send_email}::Yes. The Email will only be sent if the condition is met exactly. For reliabiity please test for text strings or numbersd greater than zero, tests for empty strings '', 0 or 'false' will not be reliable.
  • The Action label is used to identity Email Setups in the Form Events view.
  • The Send As drop-down sets the email type as Plain text, HTML, or both.
  • The Individual emails options will send a separate email to each recipient if checked; otherwise all the recipients will be incuded on the same email.
  • The File Attachments box allows you to set one or more files to be attached to the email. You can enter a input name in curly brackets e.g. {input_file_1}, a file path for an existing file, or a comma separated list of entries. File paths can use the {#path#} placeholder to shorten the path. This will be replaced by the path to the Joomla! root folder - see the help under the box for the current value.
  • The Get Submitter's IP box will either attach the IP Adresss to the end of the email or replace any {IPADDRESS} placeholder in the email template.

The Email Setup tab

  • The Dynamic and Static tabs have been merged into an Email Setup tab.
  • The boxes on the Email Setup tab will accept either a string e.g. This e-mail address is being protected from spambots. You need JavaScript enabled to view it or an input name in curly brackets {input_text_1}. This lets you mix and match static and dynamic values.
  • The one special case is the From Email box which will only accept a valid email address. Using a dynamic From Email address is the most frequent cause of failed emails. Use a dynamic Reply To Name and Reply To Email to make it easy to reply to the form submitter. Note: If you are an experienced user and you need to use the dynamic From Email box you can enable the curly brackets by adding ##OK## to the box.
  • The To, CC, BCC and Reply To Email boxes will take a comma separated list of email addresses; you can mix and match static and dynamic addresses e.g. This e-mail address is being protected from spambots. You need JavaScript enabled to view it , {email}, This e-mail address is being protected from spambots. You need JavaScript enabled to view it Dynamic addresses must return valid email addresses as (a) a single address, (b) a comma separated list of addresses or (c) an array of single addresses.
  • The Reply To Name box will take a comma separated list of names. These should match the list of ReplyTo Email addresses; if there are more Reply To Email addesses than names then the email addresses will be copied to the Name.
  • The Subject, From Name and Reply To Name boxes take a text string which may include form input names in curly brackets e.g. Message from {name}
  • Only the To email input is required. Default values will be set for other boxes.

The Template tab

  • The template tab is the same as the standard Email Action
  • Click the 'Add/Remove editor' link at the top to turn the Rich Editor on or off. Note that you cannot use PHP tags in the box with the Rich Editor on.
  • You can use input names in curly brackets e.g. {input_text_1} anywhere in this box.
File Name:ChronoForms v4 action email_gh.zip
File Size:11.84 KB
File Type:application/zip
Hits:3163 Hits
Created Date:Tuesday May 01, 2012 04:24:19
Last Updated Date:Tuesday May 01, 2012 04:23:36

Your cart

There are 1 items in your cart
the best hostingpsd to html servicebuy vpn