send_user_email not working
Posted: 18 January 2008 09:46 AM   [ Ignore ]
Jr. Member
RankRank
Total Posts:  35
Joined  2007-04-27

Hello!

I’ve been trying to get the send_user_email portion of FreeForm to work and haven’t had any luck. It just won’t send out any emails. I do receive notification emails though. Below is the code for this particular form (notify email has been changed for the forum):

{exp:freeform:form form_name="ecampaign_signup" form_id="contact_form" 
required="ecampaign_firstname|ecampaign_lastname|ecampaign_email|ecampaign_phone|ecampaign_intent|ecampaign_acceptpolicy" notify="email@domain.com" 
template="ecampaign_form_template" return="services/ecampaign_thankyou" send_user_email="yes" user_email_template="ecampaign_confirmation"}

The templates have all been set up and everything else is working perfectly. Any ideas or tips on troubleshooting? It’s important that this work as a confirmation email is necessary in this particular case.

Thanks!
.angie

Profile
 
 
Posted: 24 January 2008 10:55 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3374
Joined  2006-10-18

How is your User Template Set up?

Is there any chance that the emails are being marked as spam?

 Signature 
Profile
 
 
Posted: 12 February 2008 08:15 PM   [ Ignore ]   [ # 2 ]
Jr. Member
RankRank
Total Posts:  35
Joined  2007-04-27

Been a while - got busy. Anyway…

Here’s the template code for the form (which is in its own template and then embedded into the actual page’s template):

{exp:freeform:form form_name="ecampaign_signup" form_id="contact_form" required="ecampaign_firstname|ecampaign_lastname|ecampaign_email|ecampaign_phone|ecampaign_intent|ecampaign_acceptpolicy" notify="email@domain.com" 
template="ecampaign_form_template" return="services/ecampaign_thankyou" send_user_email="yes" user_email_template="ecampaign_confirmation"}


<label for="ecampaign_firstname">First Name
<input type="text" name="ecampaign_firstname" value="" size="30" />
</
label>

<
label for="ecampaign_lastname">Last Name
<input type="text" name="ecampaign_lastname" value="" size="30" />
</
label>

<
label for="ecampaign_company">Company <small>(optional)</small>
<
input type="text" name="ecampaign_company" value="" size="30" />
</
label>

<
label for="ecampaign_phone">Phone Number<br /><small>(so we may call and finish your account signup)</small>
<
input type="text" name="ecampaign_phone" value="" size="30" />
</
label>

<
label for="ecampaign_email">Email Address <small><a href="{path=420design/tiny_print}">(Junk-free)</a></small>
<
input type="text" name="ecampaign_email" value="" size="30" />
</
label>

<
label for="ecampaign_intent">How do you plan to use eCampaign?<br />
<
textarea name="ecampaign_intent" rows="10" cols="50"></textarea>
</
label>

<
div class="clearer"></div>

<
input type="checkbox" name="ecampaign_acceptpolicy" value="Yes" id="ecampaign_acceptpolicy" /> I have read and agree to the <a href="{path=services/ecampaign_antispam_policy}">anti-spam policy</a>.

<
br /><br />



<
div class="clearer"></div>
<
input id="contact_submit" type="submit" name="submit" value="Send →" />

{/exp:freeform:form}

Profile
 
 
Posted: 18 July 2008 12:51 PM   [ Ignore ]   [ # 3 ]
Jr. Member
RankRank
Total Posts:  35
Joined  2007-04-27

Hi there - this issue never got resolved. For the particular form code above we just decided to not send the user an email. We have a new form however, that has essentially the same code but we absolutely have to have the email sent out to the user upon submission. Unfortunately it’s just not working. I tested the Communicate tab and that worked fine. Here’s a way stripped down example of our form code:

{exp:freeform:form form_name="frmMain" form_id="ourform" notify="us@ourdomain.com" name="frmMain" template="ourform_template" send_user_email="yes" user_email_template="user_email_template"  return="our/page" }

form stuff
...

{/exp:freeform:form}

Profile
 
 
Posted: 21 July 2008 07:10 AM   [ Ignore ]   [ # 4 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3374
Joined  2006-10-18

alh,

What is the name of the form field that contains the users email address? smile

Also, for sure you have set up a template with the short name of “user_email_template”? smile

 Signature 
Profile
 
 
Posted: 21 July 2008 09:05 AM   [ Ignore ]   [ # 5 ]
Jr. Member
RankRank
Total Posts:  35
Joined  2007-04-27
Pie Man - 21 July 2008 07:10 AM

What is the name of the form field that contains the users email address? smile

“billing_email” - does it need to be something specific? (Like just “email”?)

Pie Man - 21 July 2008 07:10 AM

Also, for sure you have set up a template with the short name of “user_email_template”? smile

yep! smile triple-checked that - it’s gotten me before. smile

Profile
 
 
Posted: 21 July 2008 09:08 AM   [ Ignore ]   [ # 6 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3374
Joined  2006-10-18
alh - 21 July 2008 09:05 AM

“billing_email" - does it need to be something specific? (Like just “email”?)

I could have sworn I’ve set it to different names like you have myself… but I sometimes wonder how it would know which field to grab from… try setting the field as “email” and see if that works smile

 Signature 
Profile
 
 
Posted: 21 July 2008 09:25 AM   [ Ignore ]   [ # 7 ]
Jr. Member
RankRank
Total Posts:  35
Joined  2007-04-27
Pie Man - 21 July 2008 09:08 AM

I could have sworn I’ve set it to different names like you have myself…

Yeah, me too! In fact, I know I have with another form on this same site - but that form doesn’t send an email to the user. So I changed the form field to just “email” on the form that we’re talking about and that did the trick. smile

Thanks!
.angie

Profile
 
 
Posted: 21 July 2008 10:21 AM   [ Ignore ]   [ # 8 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3374
Joined  2006-10-18

Awesome! smile

 Signature 
Profile