This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Freeform and Sending a Dynamic Email

July 16, 2015 4:48pm

Subscribe [1]
  • #1 / Jul 16, 2015 4:48pm


    16 posts

    I have a Freeform form that is a request for information.  There are checkboxes in the form for various locations on the site.  I want to dynamically send emails based on the checkboxes that are checked.  Is that possible?

    It is poorly written the way it is now.  After the form is submitted, the coder added raw php to the response template to parse the locations and build a string for the “to” variable for the dynamic recipients.  The mail was sent using the php “mail” command.  They also put it inside a freeform entries tag pair.  What happens is sometimes the mail does not send at all, and sometimes it sends duplicates, which are also sent at different times.

    Any suggestions either with or without Expression Engine?

ExpressionEngine News

#eecms, #events, #releases