1 of 2
1
Form Records, But Won’t E-mail
Posted: 14 May 2008 11:55 AM   [ Ignore ]
Newbie
Avatar
Rank
Total Posts:  6
Joined  2006-06-22

I’ve got my new form up and running. But while it records the information correctly in the database, as visible from the “Entries” tab of the CP, it so far refuses to send a notification email.

I’ve tried using the new template, the “default_template” and the even the template for our other form, but none work. (The existing form still works fine.)

I’ve simplified this down for testing. I’ve taken out other parameters to try to make it work.

{exp:freeform:form form_name="Alumni-Friends" notify="myaddress@mydomain.com" template="Alumni"}

Using ExpressionEngine 1.6.3, the latest build, with email set to use Sendmail.

 Signature 

Online Editor
Paris Junior College
Aikin Regional Archives
Paris, Texas

Profile
 
 
Posted: 14 May 2008 09:55 PM   [ Ignore ]   [ # 1 ]
Newbie
Avatar
Rank
Total Posts:  6
Joined  2006-06-22

OK, after a couple of more hours of trouble-shooting and narrowing-down, I’ve got it working.

The problem was in my use of a new email parameter in the second form, and its use in the template’s headers. Seems it was getting confused with the standard email parameter for logged-in users and ... well, choking the whole thing.

Appears I have it sorted now. For now.  tongue rolleye

 Signature 

Online Editor
Paris Junior College
Aikin Regional Archives
Paris, Texas

Profile
 
 
Posted: 15 May 2008 06:19 AM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3374
Joined  2006-10-18

ParisJC,

Glad you got this solved LOL

 Signature 
Profile
 
 
Posted: 12 June 2008 09:26 AM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  6
Joined  2008-06-09

Hi, I’m new here, and I searched for the problem that I have, and it’s the same as yours basically.  Could you tell me what you did to get it to email to you?  Can the “from name” and “from email” in the template section be the name and the email that the person is filling out the form?

Profile
 
 
Posted: 12 June 2008 09:45 AM   [ Ignore ]   [ # 4 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3374
Joined  2006-10-18

hughesmedia,

What does your code look like? smile

 Signature 
Profile
 
 
Posted: 12 June 2008 09:56 AM   [ Ignore ]   [ # 5 ]
Newbie
Rank
Total Posts:  6
Joined  2008-06-09

Hi, here is a screenshot of my template page.  This is how my code look:

{exp:freeform:form form_name="enrollment" return="/thankyou" notify="diana@hughesm.com" template="enrollment" required="name|email"}

  
<table width="600" border="0" cellpadding="0" cellspacing="0">
  <
tr>
<
td width="300">Name: <input type="text" name="name" style="width: 250px" /></td>
.................................
{/exp:freeform:form}

edit/
Also, when I used {name} and {email} in the template for “from name” and “from email”, it didn’t work /edit

Thanks smile

Image Attachments
templatescreen.jpg
Profile
 
 
Posted: 12 June 2008 12:11 PM   [ Ignore ]   [ # 6 ]
Newbie
Rank
Total Posts:  6
Joined  2008-06-09

hello? no one knows?

Profile
 
 
Posted: 12 June 2008 10:06 PM   [ Ignore ]   [ # 7 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3374
Joined  2006-10-18

Is there any chance it’s being marked as spam? smile

 Signature 
Profile
 
 
Posted: 13 June 2008 09:04 AM   [ Ignore ]   [ # 8 ]
Newbie
Rank
Total Posts:  6
Joined  2008-06-09

I’m not sure.  Here is the basic error message when I get the return email:

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

diana@hughesm.com
Mail sent by user nobody being discarded due to sender restrictions in WHM->Tweak Settings

------ This is a copy of the message, including all the headers. ------

Return-path: <diana@hughesm.com>
Received: from nobody by biz24.inmotionhosting.com with local (Exim 4.68)
(envelope-from <diana@hughesm.com>)
id 1K6pZr-0003oj-Pw

It’s weird that it’s saying that “mail sent by user nobody”

Profile
 
 
Posted: 13 June 2008 09:08 AM   [ Ignore ]   [ # 9 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3374
Joined  2006-10-18

What happens when you try sending an email through the Communicate tab? smile

 Signature 
Profile
 
 
Posted: 13 June 2008 09:16 AM   [ Ignore ]   [ # 10 ]
Newbie
Rank
Total Posts:  6
Joined  2008-06-09

I get the same error message, what should I do?

Profile
 
 
Posted: 13 June 2008 12:24 PM   [ Ignore ]   [ # 11 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3374
Joined  2006-10-18

What are you using for Email Protocol?

CP Home › Admin › System Preferences › Email Configuration

I’d recommend PHP Mail if you’re not using it. wink

Otherwise, it sounds like a server configuration issue.

By the way, are you sending an email FROM yourself TO yourself for testing?
I’ve ran into some problems with a client where it marked the emails as Spam because it knew the email obviously wasn’t from the sender (because the email addresses were the same - one from EE of course)

Try testing with a GMail account…

 Signature 
Profile
 
 
Posted: 20 June 2008 08:57 AM   [ Ignore ]   [ # 12 ]
Newbie
Rank
Total Posts:  6
Joined  2008-06-09

Hi, thanks for the suggestions.  I just can’t get it to work.  The emails are hosted on a separate mail server by another person.  I went to the email configuration, and changed from phpmail to smtp, with the smtp server, username, and password generated from the other guy, and the form mail still doesn’t work.  Even when I try to send an email in the communication tab, it doesn’t send.  Does anyone have any ideas?

Profile
 
 
Posted: 20 June 2008 10:49 AM   [ Ignore ]   [ # 13 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3374
Joined  2006-10-18

hughesmedia,

Because this isn’t a Freeform issue (although it affects Freeform), I would check this out with the ExpressionEngine community smile
Being a much larger forum, etc, I’m sure the answer will pop up there. wink

Explain the problem as “Communicate Tab not sending emails” though wink

 Signature 
Profile
 
 
Posted: 07 July 2008 01:56 PM   [ Ignore ]   [ # 14 ]
Newbie
Rank
Total Posts:  2
Joined  2006-09-21

I am having the same problem with the form data being recorded in the database but the notifications are not being sent.  I am using SMTP as my email configuration and it works fine when sending from the Communication tab of EE.  Also, I temporarily set the email preference to PHP and my form functions correctly when I do that.  I need to use the SMTP settings; however.  So, is there a reason that the freeform notifications will be sent when using php but not when using SMTP?  Is there a way to force only freeform to use PHP for sending mail?

Thanks.

Profile
 
 
Posted: 08 July 2008 09:53 AM   [ Ignore ]   [ # 15 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3374
Joined  2006-10-18

stephlivsey,

Unfortunately, Freeform only currently respects existing EE functionality.

I will submit this as a feature request for Freeform Pro, for it to have it’s own settings in this regard wink

 Signature 
Profile
 
 
   
1 of 2
1