We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38685
    • 59 Posts
    I’ve read through the forums with this one and I
    am guessing I either have to tweak the eform
    or use the &eFormOnBeforeMailSent to populate the &to parameter
    or the &cc parameter

    I’ve got to create a list of checkboxes with
    multiple email addresses in their contents
    so that once checked these values enable multiple recipients.

    at the moment I’ve got this as my snippet...
    [!eForm?  &formid=`sendmepol` &to=`[email protected]` &tpl=`esendmepol` &ccsender=`1` &cc=`[+emailto+]` &report=`sendmepolreport` &thankyou=`sendmepolthanks` !]
    


    this to populate my +emailto+...

    <input type="checkbox" name="emailto[]" value="[email protected], [email protected]" eform="Emailto::1" />
    John & Bill
    <br /><br />
    <input type="checkbox" name="emailto[]" value="[email protected]" />
    Test Man
    <br /><br />
    


    The Thank You looks fine but I don’t get the extra emails sent!

    Thank you!

    Thank you for utilising our site to help you to make your views known
    to those who make the decisions and legislation in our country. A copy of the message below has been sent to your email address for your records!
    Your name: Paul Googler
    Your email address [email protected]
    Sent to these email addresses: [email protected], [email protected], [email protected]
    Subject: This ought to work?!
    Your Message: Woo hoo! Eform makes forms so easy!


    I see in the sent message this...

    Cc: "[+emailto+]"@somewhere.com

    Can someone point me in the right direction of populating the &cc parameter correctly!? huh huh


    EDIT: I had another post on this which explains how to fix... HERE....
    http://modxcms.com/forums/index.php/topic,40482.0.html
      Paul AL Bakulich - Association for Computing Machinery Professional Member
      http://palbakulich.me/ | http://twitter.com/#!/palhmbs