Click here to Skip to main content
15,936,903 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I am doing project related to mail. Actually, I could send an e-mail to recipients, but I have a problem with replying an e-mail.
- First, I thought that, to reply an e-mail, just get sender and use it as recipient, and get body to append to new mail.
- Then I realize that in Gmail, all replying mails are embedded with the original mails.
- Therefore, my method in 1st point will be the problem.

In this case, please help me how to solve it?
(I'm sorry if my question is not clear and please let me know)
Thanks
Posted
Comments
Sergey Alexandrovich Kryukov 4-Nov-11 1:05am    
What do you mean "embedded"?
--SA

1 solution

I suspect you exaggerate your problem because you did not look at the raw e-mail message. (Sorry if I'm wrong here.) Normally, there is nothing special in the original e-mail when a reply e-mail of created; it is not even a separate e-mail part (as in multi-part e-mail), this is just a fragment of e-mail text appended to the text of reply. All the text between them (like "original message" or "... [user name] wrote:") has no special meaning and is added in different arbitrary forms, depending on the code of the agent composing e-mail. So, I think your assumptions in your first items are correct; this is exactly what you need to do; you only need to generate some text I mentioned above, as this is all what's expected.

As far as I remember, GMail is not different in this aspect. Besides, why should you follow the GMail or some other particular style? Just generate the text similar to common practice.

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900