Hello Friends! Can I get cc of all the email, contacts made to the listing owner on my website to my admin email? If yes, How?
You need to modify contact.php to put you on the sendmail. It is a one line change. $to=$rs['email'] .',[email protected]'; you will then get a copy of each email sent to a seller (advert owner).
As a side note, you need to be careful about doing this. Depending on the laws where you are and the emphasis on privacy these days, you need to be clear that you are doing this in your terms and/or policies. It may even be illegal in some jurisdictions. Just sayin'
I don't think it is illegal at all or ever could be. Like half the websites out there do it every minute of the day. And that is just the start of what they do. You are filling in a contact form on the site. Just put it in your registration terms and conditions that emails are collected and for what purpose.
Thank You seymourjames. Mike- its my customers who says that even I should get the email cc so that I could contact them in case they receive an inquiry. In textile business not all adverts check mails regularily. Thank You once again Seymourjames.
Not trying to start a legal debate at all. I have no data as to what sites are doing. I'm simply saying that when you fill out a contact form it is only stored temporarily in memory, is then processed, then there is no trace of it accept to the "intended" recipient. In this case, the contact form specifically is for the use to "Contact the owner", it doesn't say "and the site admin". One legal point especially if it isn't disclosed. In addition, when an email is sent, then the email is now in the admin's inbox on the admin's server as well as the admin's computer once retrieved from the server. A communication that was never intended nor disclosed to be sent to him/her. This data is personally identifiable correspondence which falls under a completely different jurisdiction. Unless you live in a cave, this is a very hot issue right now especially with the newly found "Carrier IQ" which now has the US congress involved as well as requests for the FTC to get involved. The main reason? Because it is reading and keeping copies of personal SMS/text messages! So again, I'm not trying to debate it. I am simply saying that doing what the poster is suggesting needs to be carefully considered from both an end user notification as well as any legal aspects. That's all. Simple as that.