aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes JavaMail and bundles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JavaMail and bundles" Watch "JavaMail and bundles" New topic
Author

JavaMail and bundles

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
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?


SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18155
    
    8

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

Joined: Sep 18, 2005
Posts: 746
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaMail and bundles
 
Similar Threads
while page is loading
please wait message using javascript
Loading Time
display loading message
WA #1.....word association