SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
Originally posted by Chengwei Lee:
Hi Ken,
Are you familiar with the JavaMail API? If you haven't use it before, perhaps you could follow a simple tutorial from jGuru to get you up to speed with it.
Once you're familiar with the API, perhaps you won't be needing that sample code anymore. In order to be able to quote the received email in a reply, you'd need to have the message contents of that received email. You'll be able to do it after you follow the tutorial. Once you have the message contents, you could either store it in a StringBuffer & the format it in any manner you like in the reply message.
Of course if you're hoping to see codes that can show you how to do the GUI of the email client as well as the necessary formatting, that would be an entire story. That would require you to be proficient in Swing as well.
HTH.
Thanks for the info. I didn't know that JavaMail has the "quote" feature. The last time I used JavaMail was at least 5 years ago. Thanks for having me updated.
SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
Originally posted by Chengwei Lee:
Hi Ken,
JavaMail doesn't have any "quote" feature. What I was trying to say was that you have access to all the contents of incoming emails by using JavaMail. Hence, you could use these contents and quote them inside your replies.
Hope I'm being clearer this time round.
SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
Originally posted by Chengwei Lee:
But Ken, you could implement that feature yourself using JavaMail isn't it?
SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
Originally posted by Chengwei Lee:
Do you have anything existing now? Or you totally unstarted? Are you trying to write a web-based or a desktop based email application?
You're attempting to have an email application that automatically quote previous replies whenever you click on reply. Am I right?
I am not a spy. Definitely. Definitely not a spy. Not me. No way. But this tiny ad ...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|