Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using a Perfect Web contact form on my Joomla 2.5 website. The contact form emails all the info when a user fills it in and sends it to my Gmail account which in turn forwards it to my office email account for us to reply.

However, I just noticed that the emails are being marked as spam or as phishing by Gmail:

This message may not have been sent by:...

And get rejected as spam when forwarded to my office email account. How can I get around this so that all my emails get forwarded?

share|improve this question

You have at least two options to get around this:

  1. Add the sender address, which you added to the Joomla! configuration, to the whitelist of your Gmail account.


  2. Re-configure Joomla! to use an SMTP account to send the mails instead of using the internal mail function.

share|improve this answer

Check your original email header and see if Google says it SPF pass. It is common issue to forget adding SPF pass in the name server configuration. Or paste it here so that we can check it.

If it is SPF pass then as nibra has says, add the sender address in your gmail white list and also check if you email does not contain any spam words.

share|improve this answer

Use SMTP sending on global configuration in Joomla, and insert your e-mail account access data here (to be extra careful with security, place configuration.php outside public_html. You will find several documents on how to do that on the internet).

Use a VALID account, registered at your host, on your domain

Preferrably, don't set a different "reply to" e-mail

make sure your account have SPF and DomainKeys enabled

Check spamhaus and other resources to see if you are not blacklisted

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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