Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!


Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 




From the folks who brought you High Rankings!


Gmail Issue

  • Please log in to reply
2 replies to this topic

#1 madams


    HR 5

  • Active Members
  • PipPipPipPipPip
  • 504 posts
  • Location:Costa Blanca, Spain

Posted 11 September 2012 - 07:31 AM


I have online forms on my site and when I receive one, the mail is "from" my sites email address. The real senders address is in the body of the message.

Problem is when I hit reply, it will send the message back to myself and not the sender.

This is not such a big problem for me but customers who advertise on my site have no idea they are sending an answer to me and not the form filler.

The Gmail header---

from: inquiries@mysite.com via myhost.net
to: inquiries@mysite.com
date: 11 September 2012
subject: Villa Rosa - Large Six Bedroom Holiday Villa
mailed-by: myhost.net

Any way to get around this?

Edited by madams, 11 September 2012 - 07:33 AM.

#2 cfreek



  • Active Members
  • PipPipPipPip
  • 166 posts
  • Location:Richmond, Virginia, Earth

Posted 11 September 2012 - 08:17 AM

Assuming I understand the question, it should be part of the mail script and would vary depending on what software/script you are using.

There will be a part that sets the headers of the email, including the From and/or Reply to.

#3 Mikl


    HR 5

  • Active Members
  • PipPipPipPipPip
  • 345 posts
  • Location:Edinburgh, Scotland

Posted 11 September 2012 - 09:20 AM

The answer partly depends on what platform you are using.

If you are using PHP's mail() function, for example, then the fourth parameter is a string that contains the email header. In turn, the header is a series of sub-strings, and these include the "from" and "reply to" addresses.

In my own form, I have some PHP code that looks like this:

$headers = 'From: '.$email."\r\n".
'Reply-To: '.$email."\r\n" .
'X-Mailer: PHP/' . phpversion();

where $email is the address entered by the visitor. I pass the whole of the above $headers string as the fourth param to mail().

Remember, I'm just giving this as an example. It might be quite different in your case, depening on what system you are using to send the emails.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

We are now a read-only forum.
No new posts or registrations allowed.