0

I have an online enquiry form that was working fine until last month when I updated ExpressionEngine from 2.5.3 to 2.7.3, and Freeform Pro from 4.0.10 to 4.1.5. Now my client has complained that the email notifications from their website's enquiry form are going into their spam folder because the Reply-to address on the emails is incorrect and they can't simply hit 'reply' in their mail app because it isn't going to the right address.

Looking at the header information for the email notification I see the following:


Return-Path: < [email protected] >

Reply-To: "[email protected]" < [email protected] >

From: "Test Name" < "Test Name"@strangeemail.net.au >

X-Sender: Test Name

X-Mailer: ExpressionEngine 2.7.3d


In the Notification Template I have:


From Name: {name}

From Email: {email}

Reply To Email: {email}


I created {name} and {email} as text fields with Name set to 'Any' Field Content Type and Email is set to 'Email'.

How is the Return-Path generated and why is it incorrect? Occasionally my client isn't receiving the notification at all because the from email has the person's name in quotations before the domain name. The site's database is MySQL 5 and PHP 5.2. It looks like the incorrect domain name in the email address is something to do with the site host's mail, although they have said I must have entered something incorrectly in my notification template!

Any ideas/thoughts would be greatly appreciated.

Thanks Karen

1
  • 1
    Can you try updating to the latest version of Freeform? (4.1.8 as of this writing) There was a fix related to "From Name/Email" in a later version (than 4.1.5) that hopefully helps. First make backups of your database and files, just in case
    – Solspace
    Jun 2, 2014 at 14:10

2 Answers 2

0

Karen, make sure that your email address is set in EE; Admin > Email configuration > Return Email address for auto generated emails. AFAIK this is what is used to generate the 'From' header in outgoing emails. Without this emails look like spam.

I don't think that the client's notifications are getting spam-flagged because of an incorrect Reply-to address, but rather because of an incorrect From address.

1
  • The email address in EE is the same as the email address I have set in Freeform for the notifications to go to - my address. And I thought Freeform took precedence over this?
    – Mosaik
    May 31, 2014 at 21:31
0

As Solspace commented, it turns out there was a bug with Solspace Freeform itself. Updating to the latest version of Freeform (4.1.8 as of the date I updated it) has fixed the problem. Thanks Solspace.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.