Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaMail and bundles

 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I was thinking of loading a resource bundle to be put on the message body part of my mail. Is this the most ideal thing to do? Or should I be loading the message from a text file or something?
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wouldn't put a resource bundle into an e-mail message. Doesn't make sense.

But if your question is, you want to get a message from somewhere and put it into an e-mail message, then it makes absolutely no difference (to the e-mail message) whether the message comes from a text file or a resource bundle or a database or user input.
 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks! So where do you think would be the best place to put it? Text file or database? Database would seem to be a very good choice for me but I just want to be confident by hearing more of your suggestions. Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic