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.
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.
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?
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”
CP Home › Admin › System Preferences › Email Configuration
I’d recommend PHP Mail if you’re not using it.
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)
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?
Because this isn’t a Freeform issue (although it affects Freeform), I would check this out with the ExpressionEngine community
Being a much larger forum, etc, I’m sure the answer will pop up there.
Explain the problem as “Communicate Tab not sending emails” though
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?