Issues with the Contact form and Gmail and GoogleApps

From Joomla! Documentation

Revision as of 05:36, 3 March 2012 by Brian (talk | contribs) (Created page with "== '''Problem''' == The reply-to email address is not used when replying to emails sent from the Contact compent and the email is sent to yourself. == '''Explanation''' == Joo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Problem[edit]

The reply-to email address is not used when replying to emails sent from the Contact compent and the email is sent to yourself.

Explanation[edit]

Joomla sends emails from the Contacts component with the following headers

From: email address set as the site email address in the global configuration '"To:'" email address set in the contact component '"Reply-to:'" email address of the person who submitted the contact form

Expected Behaviour[edit]

On receiving the email you should be able to hit reply and the email is sent to the email address set in the reply-to field. This is the correct behaviour as defined in the Internet (http://tools.ietf.org/html/rfc5322).

Known Issue[edit]

IF you are using Gmail or GoogleApps AND the "From" address is one of your "Send mail as" addresses then the "Reply-to" email address is ignored and the reply is sent to the "From" address.

Solution[edit]

The best solution to this is to set the site email address in the global configuration for your website to an email address that is NOT one of your "Send mail as" addresses in Gmail.