1 of 2
1
Emails not being sent
Posted: 21 February 2008 01:08 PM   [ Ignore ]
Jr. Member
RankRank
Total Posts:  43
Joined  2007-04-27

Hello! We’ve got Freeform running fine for the most part. Unfortunately the email doesn’t get sent out.

in talking with our server admins, we narrowed down the problem to the emails being sent from “nobody@ourdomain.com”. And since the server is set to discard emails from the user “nobody” (for security), that seemed to be the problem. So we added the appropriate email account to the server (because the client hosts their own emails/MX records). Then we went in and checked the settings in EE’s Admin/System Prefs, as well as the template settings for Freeform. We tested and the server logs still show that the email is being sent from “nobody@ourdomain.com”. When we turn off the discard, however, it works just fine.

Any ideas?

.a

Profile
 
 
Posted: 21 February 2008 01:12 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

What does your Freeform code look like?

And what does your Email Notification template in the Freeform CP look like? smile

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 21 February 2008 03:40 PM   [ Ignore ]   [ # 2 ]
Jr. Member
RankRank
Total Posts:  43
Joined  2007-04-27

Of course. I totally should’ve expected that! smile

Okay, here’s the template we’ve been testing:

<div id="appointment_request">
<
p class="close_js"><a href="#" class="lbAction" rel="deactivate">Close</a></p>


{exp:freeform:form form_name="appointment_request" required="name|from|address|phone|weekday|weekday2|time|time2"
notify="13606665254@efaxsend.com|battleground@gentle1.com|eniemi@gmail.com|15308845258@efaxsend.com" template="appointment_request"}

<h2>Appointment Request Form</h2>
<
p>Thanks for your interest in Gentle Dental Battle Ground. Please provide the information below and our friendly staff will contact you to finalize your appointment. All fields are required.</p>

{embed=lightboxes/ar_form}

{
/exp:freeform:form}

</div>

Here’s the form that’s embedded per above:

<input type="hidden" name="location" value="segment_3" />
<
input type="hidden" name="seg3" value="{segment_3}" />

<
p><label for="name">Full name:</label><br />
<
input type="text" id="name" name="name" size="40" maxlength="35" value="" /></p>

<
p><label for="address">Address:</label><br />
<
input type="text" id="address" name="address" size="40" value="" /></p>

<
p><label for="phone">Phone:</label><br />
<
input type="text" id="phone" name="phone" size="40" value="" /></p>

<
p><label for="from">Email:</label><br />
<
input type="text" name="from" size="40" /></p>

<
p><label for="weekday">Preferred Day 1:</label> &nbsp;
<
select name="weekday[]" id="weekday_menu">
<
option value="Monday">Monday</option>
<
option value="Tuesday">Tuesday</option>
<
option value="Wednesday">Wednesday</option>
<
option value="Thursday">Thursday</option>
<
option value="Friday">Friday</option>
</
select></p>

<
p><label for="time">Preferred Time 1:</label> &nbsp;
<
select name="time[]" id="time_menu">
<
option value="Morning">Morning</option>
<
option value="Lunchtime">Lunchtime</option>
<
option value="Afternoon">Afternoon</option>
<
option value="Evening">Evening</option>
</
select></p>

<
p><label for="weekday2">Preferred Day 2:</label> &nbsp;
<
select name="weekday2[]" id="weekday_menu2">
<
option value="Monday">Monday</option>
<
option value="Tuesday">Tuesday</option>
<
option value="Wednesday">Wednesday</option>
<
option value="Thursday">Thursday</option>
<
option value="Friday">Friday</option>
</
select></p>

<
p><label for="time2">Preferred Time 2:</label> &nbsp;
<
select name="time2[]" id="time_menu2">
<
option value="Morning">Morning</option>
<
option value="Lunchtime">Lunchtime</option>
<
option value="Afternoon">Afternoon</option>
<
option value="Evening">Evening</option>
</
select></p>

<
p><input type="checkbox" name="has_been_to_office" value="Has been to office before">I have been to a Gentle Dental office before.</p>

<
p><input name="submit" type='submit' value='Submit Form' /></p>

And here’s the email notification template:

Entry Date: {entry_date}

{all_custom_fields}

-----------------
Staff Use Only
-----------------

Contact this patient today to schedule an appointment. Fill out the appropriate fields below and hand in to your Office Manager before you leave.

Staff Member Name: ________________________________________

Made an appointment on
: ________________________________________

Left a message on
: ________________________________________ and follow up is needed.

Patient was contacted but chose not to make an appointment: _______________

Profile
 
 
Posted: 22 February 2008 07:03 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Thank you! smile

And what do you have as a From Name and Email in the “appointment_request” Notification Template?

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 22 February 2008 09:42 AM   [ Ignore ]   [ # 4 ]
Jr. Member
RankRank
Total Posts:  43
Joined  2007-04-27

No problem…

We’ve got Gentle Dental Website for from name and appointment@gentle1.com for Email.

Profile
 
 
Posted: 22 February 2008 09:45 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Thanks!

What happens when you just try sending to ONE email address (try with the Gmail address)

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 22 February 2008 09:47 AM   [ Ignore ]   [ # 6 ]
Jr. Member
RankRank
Total Posts:  43
Joined  2007-04-27

Tried that yesterday. No email sent.

Profile
 
 
Posted: 22 February 2008 09:54 AM   [ Ignore ]   [ # 7 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

For the heck of it, try setting up this form below on a seperate page… see if it does anything for you…
If so, slowly start adding more things….

{exp:freeform:form form_name="appointment_request" notify="eniemi@gmail.com" template="default_template"}

<p>Name<br />
<
input type="text" name="name" value="" />
</
p>

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

<
p>Address<br />
<
textarea name="address" /></textarea>
</
p>

<
p>
<
input type="submit" name="submit" value="submit" />
</
p>

{/exp:freeform:form}

I also wouldn’t mind seeing a page your other code is on smile

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 22 February 2008 12:53 PM   [ Ignore ]   [ # 8 ]
Jr. Member
RankRank
Total Posts:  43
Joined  2007-04-27

Okay, that didn’t work.

Profile
 
 
Posted: 22 February 2008 12:56 PM   [ Ignore ]   [ # 9 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Which version of Freeform are you running? And which version of EE are you running?

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 28 February 2008 01:26 PM   [ Ignore ]   [ # 10 ]
Jr. Member
RankRank
Total Posts:  43
Joined  2007-04-27

Unfortunately we’re still on EE 1.5.2 (long story as to why this site hasn’t been upgraded) and Freeform v2.5.2.

Profile
 
 
Posted: 28 February 2008 01:29 PM   [ Ignore ]   [ # 11 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Has the email notification ever worked?

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 28 February 2008 01:36 PM   [ Ignore ]   [ # 12 ]
Jr. Member
RankRank
Total Posts:  43
Joined  2007-04-27

Yep, prior to mid-January it was working (client only just told us a couple weeks ago that it had stopped working in mid-Jan).

Profile
 
 
Posted: 28 February 2008 02:02 PM   [ Ignore ]   [ # 13 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Thanks,

Was it always showing up as nobody@ourdomain.com though? Or did that just start up recently as well?

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 28 February 2008 02:53 PM   [ Ignore ]   [ # 14 ]
Jr. Member
RankRank
Total Posts:  43
Joined  2007-04-27

No, that’s definitely new.

Profile
 
 
Posted: 28 February 2008 03:07 PM   [ Ignore ]   [ # 15 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

I guess I could have asked all these questions in one shot… sorry :D

Have you installed any other plugins or made any other adjustments around that time?
And if possible, is there any chance the Web Host made any changes around then? smile

Thank you for your patience

 Signature 

Check out the new Solspace Blog!

Profile
 
 
   
1 of 2
1