Contact form sets reply-to to admin email only

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
dlovrien
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Mon Apr 03, 2006 4:10 pm
Contact:

Contact form sets reply-to to admin email only

Post by dlovrien » Thu Jul 28, 2011 8:55 pm

In 1.7, all messages sent through the default Contacts set the "reply-to" to the site admin address set in Global Configuration. The "From:" address shows the correct email as entered on the form, but anyone who receives the email and replies will send to the admin and not the original sender.

How can I fix this? I have tried switching from PHPMail to Sendmail, no change.

-David

dlovrien
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Mon Apr 03, 2006 4:10 pm
Contact:

Re: Contact form sets reply-to to admin email only

Post by dlovrien » Mon Aug 08, 2011 6:48 pm

Any ideas on this? Or is the Contacts component in 1.7 just useless?

greatjm
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Aug 09, 2011 1:48 pm

Re: Contact form sets reply-to to admin email only

Post by greatjm » Tue Aug 09, 2011 1:56 pm

I experienced the same issue (just with v1.7). Could anybody take a look at this? Thanks!

greatjm
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Aug 09, 2011 1:48 pm

Re: Contact form sets reply-to to admin email only

Post by greatjm » Tue Aug 09, 2011 2:33 pm

Hi Mikkohanga, I tried ContactEnhanced and Foxcontact. This issue will still be there if you use Joomla v1.7.

dlovrien
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Mon Apr 03, 2006 4:10 pm
Contact:

Re: Contact form sets reply-to to admin email only

Post by dlovrien » Tue Aug 09, 2011 2:38 pm

Yes, I know there are extensions that will work, but this is a bug. I have reported this in the Bug Reporting forum for 1.7.

User avatar
machadoug
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 107
Joined: Fri Jun 23, 2006 4:41 pm
Location: Joinville - Santa Catarina - Brazil
Contact:

Re: Contact form sets reply-to to admin email only

Post by machadoug » Tue Aug 09, 2011 3:58 pm

@dlovrien,

I'm also having this problem and I am looking into this. Please keep us updated if you find the cause.

Best regards,
Douglas Machado :: Joomla Extension Developer :: [<o>]
My Joomla Extensions: https://idealExtensions.com
Contact Enhanced: https://idealextensions.com/joomla-exte ... anced.html

User avatar
h3lios
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Jun 11, 2010 10:00 am

Re: Contact form sets reply-to to admin email only

Post by h3lios » Fri Sep 02, 2011 12:06 am

I have this issue in Joomla 1.7.0 as well and I can see many other people experiencing this problem also. It's a pretty nasty major flaw and hopefully it will be fixed soon, otherwise bye-bye Joomla and hello Drupal.

For those interested, some discussions are happening here:

http://forum.joomla.org/viewtopic.php?p=2587608

and here:

http://groups.google.com/group/joomlabu ... 10070fd91a

dlovrien
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Mon Apr 03, 2006 4:10 pm
Contact:

Re: Contact form sets reply-to to admin email only

Post by dlovrien » Fri Sep 02, 2011 1:13 am

My understanding is that the fix has been coded and checked in, so I guess it will be available in the next release...?

User avatar
Helvecio
Joomla! Explorer
Joomla! Explorer
Posts: 468
Joined: Wed Oct 10, 2007 2:29 pm
Location: Rio de Janeiro - Brazil
Contact:

Re: Contact form sets reply-to to admin email only

Post by Helvecio » Sat Sep 03, 2011 4:21 pm

I found the solution to this problem in the developers' site.

The modified version of the files are attached.

Replace them as follows:
  • - libraries/joomla/factory.php
    - components/com_contact/controllers/contact.php
I've tried it and it worked fine.
You do not have the required permissions to view the files attached to this post.
Helvecio "Elvis" da Silva
Graphic and Web Designer
Joomla Website Developer
http://hlvc.design

User avatar
web_servant
Joomla! Explorer
Joomla! Explorer
Posts: 298
Joined: Thu Dec 10, 2009 12:00 am

Re: Contact form sets reply-to to admin email only

Post by web_servant » Sat Sep 03, 2011 11:19 pm

Thanks Helvecio

User avatar
Helvecio
Joomla! Explorer
Joomla! Explorer
Posts: 468
Joined: Wed Oct 10, 2007 2:29 pm
Location: Rio de Janeiro - Brazil
Contact:

Re: Contact form sets reply-to to admin email only

Post by Helvecio » Sat Sep 03, 2011 11:57 pm

web_servant wrote:Thanks Helvecio
You're welcome.

Glad I could be of service.
Helvecio "Elvis" da Silva
Graphic and Web Designer
Joomla Website Developer
http://hlvc.design

User avatar
h3lios
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Jun 11, 2010 10:00 am

Re: Contact form sets reply-to to admin email only

Post by h3lios » Sun Sep 04, 2011 6:07 am

Thanks Helvecio! The fix seems to work.

julienanglet
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Sep 14, 2011 7:21 am

Re: Contact form sets reply-to to admin email only

Post by julienanglet » Wed Sep 14, 2011 8:34 am

Hello,
I use gmail for read my mails
Gmail ignores the reply-to when the From is one of your configured send-as addresses in gmail. I don't know why.

Someone has a solution ?

Help !
thank

bjmhistory
Joomla! Intern
Joomla! Intern
Posts: 93
Joined: Thu Apr 26, 2007 11:12 am

Re: Contact form sets reply-to to admin email only

Post by bjmhistory » Mon Sep 19, 2011 8:39 pm

Great! This works. Thank you....however, how can I include the site email address into the reply line automatically?

Thanks.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 40487
Joined: Sat Apr 05, 2008 9:58 pm

Re: Contact form sets reply-to to admin email only

Post by Webdongle » Mon Sep 19, 2011 8:46 pm

http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

slackcc
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Aug 26, 2011 1:35 pm

Re: Contact form sets reply-to to admin email only

Post by slackcc » Wed Oct 12, 2011 5:03 pm

I applied this fix and it did seem to fix the reply-to issue, however, the messages then came across as being simply from the website rather than from the name of the person submitting the request (perhaps this is the desired behavior for some). In our case we prefer the messages to appear to come from the people who are actually sending them so I changed a couple of lines in components/com_contact/controllers/contact.php (in the patched version attached to Helvecio's message above). The lines were changed to the following:

Line 132-133:
$mailfrom = $data['contact_email'];
$fromname = $data['contact_name'];

Now the messages come across in my email client with a Name of the name supplied in the contact form and an email address (and reply-to address) of the email address supplied in the form as well. That's the behavior we were looking for and an easy fix.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 40487
Joined: Sat Apr 05, 2008 9:58 pm

Re: Contact form sets reply-to to admin email only

Post by Webdongle » Wed Oct 12, 2011 8:11 pm

then came across as being simply from the website rather than from the name of the person submitting the request
But the email is being sent from the Website so to have the email saying the sender is not the Website is incorrect.

If you click the 'reply-to' name*which is the name of the person who filled in the form and sent it from your Website. Then that persons email is used to populate the 'To' field in a reply. The contacts email is also in the 'reply-to' in the header but does not populate the 'To' field in a reply.

There have been some instances(even after the patch) where the email client have used the Contact's email address to populate the 'To' field in the reply. This has been rare but there is a tracker for it http://joomlacode.org/gf/project/joomla ... m_id=26932
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
Josh Lewis
Joomla! Guru
Joomla! Guru
Posts: 528
Joined: Wed Jun 11, 2008 11:12 pm
Location: Lynnwood,WA
Contact:

Re: Contact form sets reply-to to admin email only

Post by Josh Lewis » Thu Dec 04, 2014 4:58 am

Here's an interesting read on this:
http://eddify.me/posts/the-joomla-conta ... blems.html

Unfortunately Google now does not treat +email@joomla.org very well anymore due to people abusing it to steal identities. In other words it went straight to spam. If anyone has any clues on how to have gmail accounts work with the contact form, please let me know.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 40487
Joined: Sat Apr 05, 2008 9:58 pm

Re: Contact form sets reply-to to admin email only

Post by Webdongle » Thu Dec 04, 2014 1:59 pm

That article is incorrect ... it has several incorrect statements and confuses the two emails.

The actual process is
  1. The visitor fills and sends the contact form
  2. The Contact receives the email with the
    1. From field: as the site email
    2. The Reply to: as the visitors email
  3. The visitor receives a copy with
    1. From field: as the site email
    2. The Reply to: as the site email
2a because it is the site that is sending the completed form not the visitors email server.
3b because the Contact needs to be able to choose if to reply to the visitor but also have their privacy respected if they do not need to reply.

Problems occur because Google handles the 'From' and 'Reply to' field incorrectly. Google uses the 'From' field to populate the 'Reply to' field when the user clicks 'Reply to'. They do it in an attempt to stop spammers from faking email headers ... but Google's alteration of standard email protocol causes problems for everyone not just Joomla. Joomla's email fields in the contact form are handle correctly providing the site is upto date and no 3rd party extension or Template override is interfering with it.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
Josh Lewis
Joomla! Guru
Joomla! Guru
Posts: 528
Joined: Wed Jun 11, 2008 11:12 pm
Location: Lynnwood,WA
Contact:

Re: Contact form sets reply-to to admin email only

Post by Josh Lewis » Thu Dec 04, 2014 8:44 pm

Thanks for the well thought out response. This is still a problem with gmail users, who I'm sure are a huge percentage of the Joomla population. So perhaps in the future a option to change the "from" so that it populates with the person who filled out the form could solve this. I am agreeing that Joomla should not by default swap away from the current email standards, having it as an option would be beneficial for the contact form.

The article above was right about the +emailname@joomla.org swapping out how gmail handles the email address. The down side is that it flags the email by default when using a plus. White filtering it works, but the receiver is still warned each time. >:(

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 40487
Joined: Sat Apr 05, 2008 9:58 pm

Re: Contact form sets reply-to to admin email only

Post by Webdongle » Sat Dec 06, 2014 12:44 pm

Josh Lewis wrote:Thanks for the well thought out response. ...
The response was not 'well thought out' ... it was a detailed description of the process.

Josh Lewis wrote:This is still a problem with gmail users, who I'm sure are a huge percentage of the Joomla population. ...
"Sometimes a majority simply means that all the fools are on the same side" Claude McDonald

Josh Lewis wrote:... So perhaps in the future a option to change the "from" so that it populates with the person who filled out the form could solve this. I am agreeing that Joomla should not by default swap away from the current email standards, having it as an option would be beneficial for the contact form....
If such an option was introduced and someone used it then (in effect) they would be 'faking' the email. It would allow them to use Joomla to pretend to be from support@paypall.com etc. There are reasons why certain protocols are in place ... and Google using a non standard protocol is no reason for others (including Joomla) to create options that allow the faking of emails.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
SOAMJENA
Joomla! Ace
Joomla! Ace
Posts: 1274
Joined: Thu May 01, 2008 12:36 pm
Location: QubeSys Technologies Pvt. Ltd ,INDIA
Contact:

Re: Contact form sets reply-to to admin email only

Post by SOAMJENA » Mon Apr 20, 2015 5:07 am

I dont think, its fixed yet.

Im on Joomla 3.4.x and the reply to is showing admin email only.
How to change ?
Web Design, eCommerce and Software Development
Joomla Premium Extensions,Templates and Support Packages

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 40487
Joined: Sat Apr 05, 2008 9:58 pm

Re: Contact form sets reply-to to admin email only

Post by Webdongle » Mon Apr 20, 2015 9:02 am

SOAMJENA wrote:I dont think, its fixed yet.

Im on Joomla 3.4.x and the reply to is showing admin email only.
...
That is how it is supposed to be. What part of the following do you have dificulty understanding ?
Webdongle wrote:...
The actual process is
  1. The visitor fills and sends the contact form
  2. The Contact receives the email with the
    1. From field: as the site email
    2. The Reply to: as the visitors email
  3. The visitor receives a copy with
    1. From field: as the site email
    2. The Reply to: as the site email
2a because it is the site that is sending the completed form not the visitors email server.
3b because the Contact needs to be able to choose if to reply to the visitor but also have their privacy respected if they do not need to reply.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
SOAMJENA
Joomla! Ace
Joomla! Ace
Posts: 1274
Joined: Thu May 01, 2008 12:36 pm
Location: QubeSys Technologies Pvt. Ltd ,INDIA
Contact:

Re: Contact form sets reply-to to admin email only

Post by SOAMJENA » Mon Apr 20, 2015 10:29 am

Webdongle wrote:
SOAMJENA wrote:I dont think, its fixed yet.

Im on Joomla 3.4.x and the reply to is showing admin email only.
...
That is how it is supposed to be. What part of the following do you have dificulty understanding ?
Webdongle wrote:...
The actual process is
  1. The visitor fills and sends the contact form
  2. The Contact receives the email with the
    1. From field: as the site email
    2. The Reply to: as the visitors email
  3. The visitor receives a copy with
    1. From field: as the site email
    2. The Reply to: as the site email
2a because it is the site that is sending the completed form not the visitors email server.
3b because the Contact needs to be able to choose if to reply to the visitor but also have their privacy respected if they do not need to reply.

I received the email fine. But the reply to is showing my email, instead it should show their email.
Web Design, eCommerce and Software Development
Joomla Premium Extensions,Templates and Support Packages

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 40487
Joined: Sat Apr 05, 2008 9:58 pm

Re: Contact form sets reply-to to admin email only

Post by Webdongle » Mon Apr 20, 2015 11:16 am

SOAMJENA wrote:...
I received the email fine. But the reply to is showing my email, instead it should show their email.
Which email do you mean ?
  1. The email sent to the Contact's email address via the contact form
  2. The email copy sent to the visitor who filled in the contact form
  3. The email the visitor received from the Contact when the Contact replied to the visitor who completed the contact form.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
SOAMJENA
Joomla! Ace
Joomla! Ace
Posts: 1274
Joined: Thu May 01, 2008 12:36 pm
Location: QubeSys Technologies Pvt. Ltd ,INDIA
Contact:

Re: Contact form sets reply-to to admin email only

Post by SOAMJENA » Mon Apr 20, 2015 12:07 pm

admin email, I mean,

The email which comes to the admin.
Web Design, eCommerce and Software Development
Joomla Premium Extensions,Templates and Support Packages

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 40487
Joined: Sat Apr 05, 2008 9:58 pm

Re: Contact form sets reply-to to admin email only

Post by Webdongle » Mon Apr 20, 2015 12:18 pm

SOAMJENA wrote:admin email, I mean,

The email which comes to the admin.
Then that is correct.
  1. Obviously your Admin email is the Contact that receives the email from the form the visitor completes.
  2. The return address will be the email address that the visitor put when filling in the contact form
    (Which in this case is your email address because you were testing the contact form
Best was to test a contact form is to get someone else to complete the form. It will save you the confusion. PM me the url and I will send via your contact form
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
SOAMJENA
Joomla! Ace
Joomla! Ace
Posts: 1274
Joined: Thu May 01, 2008 12:36 pm
Location: QubeSys Technologies Pvt. Ltd ,INDIA
Contact:

Re: Contact form sets reply-to to admin email only

Post by SOAMJENA » Tue Apr 21, 2015 12:54 am

Webdongle wrote:
SOAMJENA wrote:admin email, I mean,

The email which comes to the admin.
Then that is correct.
  1. Obviously your Admin email is the Contact that receives the email from the form the visitor completes.
  2. The return address will be the email address that the visitor put when filling in the contact form
    (Which in this case is your email address because you were testing the contact form
Best was to test a contact form is to get someone else to complete the form. It will save you the confusion. PM me the url and I will send via your contact form
No, customers only tried it and I got their emails and I see my email as reply to.

anyways try it here, so I can show it to you.
http://tiny url.com/nmxyo53
Web Design, eCommerce and Software Development
Joomla Premium Extensions,Templates and Support Packages

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 40487
Joined: Sat Apr 05, 2008 9:58 pm

Re: Contact form sets reply-to to admin email only

Post by Webdongle » Tue Apr 21, 2015 1:54 am

SOAMJENA wrote:...
No, customers only tried it and I got their emails and I see my email as reply to.
...
The email that the customer receives(if they select to receive a copy) will contain a copy of their message ... and the return email address will be your site email. If that is not the case then you have a Template with a badly written override or your Joomla is not up to date.

The link you provided does not work. Please provide a link that works so we can experience first hand what is happening. Also please http://forum.joomla.org/viewtopic.php?f=621&t=582860
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
SOAMJENA
Joomla! Ace
Joomla! Ace
Posts: 1274
Joined: Thu May 01, 2008 12:36 pm
Location: QubeSys Technologies Pvt. Ltd ,INDIA
Contact:

Re: Contact form sets reply-to to admin email only

Post by SOAMJENA » Tue Apr 21, 2015 2:02 am

HERE IS THE URL , http://tiny url.com/nmxyo53
Web Design, eCommerce and Software Development
Joomla Premium Extensions,Templates and Support Packages


Locked

Return to “General Questions/New to Joomla! 2.5”