New Server - Freeform does not notify / send_user_email
Posted: 15 April 2009 02:14 PM   [ Ignore ]
Newbie
Avatar
Rank
Total Posts:  4
Joined  2009-04-15

I have been working at trying to get my freeform module to send notification / send-user_email emails to no avail for the past 2 days. Ive read through the forums and tried re-ordering the variables in exp:freeform:form, I have tried the default template, i have simplified the form to only form_name=“Email” notify=“email@gmail.com” template=“Email”. I can send emails using the communicate section in EE.

I am currently using sendmail as the option in EE, but phpmail will also send emails out as tests in the communicate module.

I am using EE 1.6.4 with Freeform Version: 2.5.7. The issue all started when we took our servers from one location to another.  It was working just fine with the current setup but when we moved to our new server it quit working.  Yes, we are using load balancing servers and have a master to master replicating mysql database server. This is a bad setup, but don’t see how this could affect the forms from submitting.  Also understand we don’t have the most up to date EE or Freeform, but they were working before we moved our files from one place to another.  Can anyone help me?

Heres a bit of code:

{exp:freeform:form form_name="Email" notify="email@gmail.com" template="Email" user_email_template="Email" send_user_email="yes" redirect="skip" return=""
Profile
 
 
Posted: 16 April 2009 07:19 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8210
Joined  2006-10-18

cschulz,

Are you specifying the “short_name” for the notification templates? There’s a Label and a Name field for your notification templates. Make sure you’re specifying what’s in the Name field. smile

template="email"
user_email_template="email" 
 Signature 
Profile
 
 
Posted: 16 April 2009 07:28 AM   [ Ignore ]   [ # 2 ]
Newbie
Avatar
Rank
Total Posts:  4
Joined  2009-04-15

Yes I am using the name field.  However, In this case I am using the same name for the name field and the label field (Email).  Would this cause a problem?  This is how all of my forms are for consistency sake.

Profile
 
 
Posted: 16 April 2009 08:21 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8210
Joined  2006-10-18

Try using “default_template” for one of them and we’ll see what happens smile

 Signature 
Profile
 
 
Posted: 17 April 2009 05:19 AM   [ Ignore ]   [ # 4 ]
Newbie
Avatar
Rank
Total Posts:  4
Joined  2009-04-15

this didn’t work either.  I think I might have found the issue.  Our company’s IT guy did not register the servers correctly and we have been blacklisted.  HTML emails won’t be delivered but plain text emails will be delivered to the spam box. Thanks for trying to help.

Profile
 
 
Posted: 17 April 2009 10:56 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8210
Joined  2006-10-18

Damn IT guys! raspberry

So then this one’s resolved then? smile

 Signature 
Profile
 
 
Posted: 17 April 2009 11:26 AM   [ Ignore ]   [ # 6 ]
Newbie
Avatar
Rank
Total Posts:  4
Joined  2009-04-15

resolved! thanks.

Profile
 
 
Posted: 10 December 2009 07:53 AM   [ Ignore ]   [ # 7 ]
Newbie
Rank
Total Posts:  5
Joined  2008-12-23

I’m having the exact same issue and I cannot figure out how to resolve it….Freeform was working perfectly on our Verio server and then we when transferred it over to our new Rackspace server, the emails are not sending. It is still writing to the DB but the notify function doesn’t work at all…Can someone please help me out with this? Thanks

Profile
 
 
Posted: 10 December 2009 02:49 PM   [ Ignore ]   [ # 8 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8210
Joined  2006-10-18

adro,

It could be how your server settings are… what does your template code and your notification template look like? smile

 Signature 
Profile
 
 
Posted: 10 December 2009 03:16 PM   [ Ignore ]   [ # 9 ]
Newbie
Rank
Total Posts:  5
Joined  2008-12-23

heh, I’m a goof….we got to the bottom of it….I had the “From Email” field left blank and it caused the form not to send! Thanks for the quick reply though, all the best.

Profile
 
 
Posted: 01 February 2010 06:32 PM   [ Ignore ]   [ # 10 ]
Newbie
Rank
Total Posts:  2
Joined  2009-10-09

Hi there,

I’m having some issues getting my notification emails to send as well. I have tested the Communicate feature of the site and this works fine. I have also noticed that the data is being saved in the database without any problems but the information just isn’t being sent to me via email.

Below is a copy of the form as it is embedded in the template

{exp:freeform:form form_name="contact_data" return="weblog/aswpp" notify="myemail@mydomain.com" template="contact_form" required="name|email|phone1"}
 
<p>Name*<br />
<
input type="text" name="name" value="" size="40" />
</
p>
 
<
p>Studio name<br />
<
input type="text" name="studio" value="" size="40" />
</
p>

<
p>Studio address<br />
<
input type="textarea" name="studio_address" value="" rows="5" cols="45"></textarea>
</
p>

<
p>Website<br />
<
input type="text" name="website" value="" size="40" />
</
p>

<
p>Email*<br />
<
input type="text" name="email" value="" size="40" />
</
p>

<
p>Phone*<br />
<
input type="text" name="phone1" value="" size="40" />
</
p>

<
p>Alternate Phone<br />
<
input type="text" name="phone2" value="" size="40" />
</
p>
 
<
p>How did you hear about us?<br />
<
select name="How_did_u_hear_about_us" />
<
option value="Friend">Friend</option>
<
option value="Colleague">Colleague</option>
<
option value="Newsletter">Newsletter</option>
<
option value="Media">Media</option>
<
option value="Search Engine">Search Engine</option>
<
option value="Other">Other</option>
</
select>
</
p>

<
p>
<
input type="submit" name="submit" value="submit" />
</
p>
 
{/exp:freeform:form} 

Attached is a screenshot of my contact form template as well.

Regards,


Mike

Image Attachments
Screen shot 2010-02-02 at 11.32.16 AM.png
Profile
 
 
Posted: 02 February 2010 04:34 PM   [ Ignore ]   [ # 11 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8210
Joined  2006-10-18

Hi Mike,

Can I assume you’re using the latest version of Freeform? Also, do you have any Spam filters on your server or email that could be blocking the emails? smile

 Signature 
Profile
 
 
Posted: 03 February 2010 04:31 PM   [ Ignore ]   [ # 12 ]
Newbie
Rank
Total Posts:  2
Joined  2009-10-09

Hmm, when I change email addresses I get the emails.

Maybe it is a spam filter that was blocking the emails.

Thanks guys!

Profile
 
 
Posted: 03 February 2010 11:51 PM   [ Ignore ]   [ # 13 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8210
Joined  2006-10-18

I’ve seen server filters that do not allow you to have emails “appear” to be sent from your own domain, to you an email on the same domain… wink

 Signature 
Profile
 
 
Posted: 04 February 2010 09:00 AM   [ Ignore ]   [ # 14 ]
Newbie
Rank
Total Posts:  2
Joined  2009-11-25

So we’ve been having a similar issue. We have two sites, running on the same server, and neither sends email via the notify function.

Our IT guy has looked at the server logs and claims that the site is hitting our server, but not sending a TO: or any data, just a FROM: and then disconnecting.

Of note: We’ve set this up on a 3rd server, running in a UNIX environment, and it works fine. The two that are not working are running on PHP under IIS and do not work. They do post into the DB just fine, just don’t send the notification emails.

We are using PHP’s mail() function on ours, and if I switch it to another one, the form hangs. So I know that it’s making the connection.

Any advice?

Edit: reading another thread - remove the ‘From Name’ from the template and it works

We had a similar problem with a site running in CodeIgniter. IIS’s SMTP service does not like From emails formatted as ‘Name <email@address.com>’

Profile