The main purpose of this post is to hide email addresses of both parties communicating / control spam
Well this is something like guru.com or elance.com where the professional's email is not known to buyers. Pro and Buyers either can discuss on private message boards, where both have functionality to post their messages. every posted message is recorded in database and also sent to receiver email address (provided in their profile)
This communication is so easy simply involve one or two messaging pages for both parties and on submit action save them to database also send email to receiver.
What makes it complex!!!
when we let the receiver answer the email from his/her inbox in regular fashion by sending a reply and require to save the message in the ongoing correspondence table in the online database. In this way both parties still communicating using emails without requiring to singin in the website and still the website is saving all the messages back and forth.
What are the possibilities:
When the receiver got email it has some kind of correspondence id in subject or body mostly Help/Support ticket system embed ticket id in the subject and from address is usually something like
disscussionboard@guru.com. Receiver have option to simply reply the message without changing the subject or inside body and the system received that email record the correct message in the database and also email it to other party.
This is some kind of SERVER side email processing?
How the server read from the email?
Does this involve any server feature? is it something to do with MailServer?
What I am considering right now to set any Email Filter which judge specific data in Subject and save that email in any folder. Later with the help of Cron job in linux server I run any script with regular gaps which read the text files extract the message save them to database and email to the sender.