dcsimg
java mail sendin message?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   aniruddha_ghorpade
Posted On:   Wednesday, August 8, 2001 02:19 PM

I wish to use JavaMail to E-Mail a report from a JSP page.
The problem I am encountering is that the report is larger than will fit within a String Object.
I believe the limit on a string object to be 32k as the length() method returns an integer.
I would like to know if JavaMail supports messages greater than 32K and how to best accomplish the task of
emailing the report? .
A simple example to illustrate the above using a javabean (which my jsp can use),or including the same
in the jsp would be great.

Re: java mail sendin message?

Posted By:   John_Zukowski  
Posted On:   Wednesday, August 8, 2001 06:32 PM

The maximum value of an int is not 32000. It is 2,147,483,647. That is 2 GB. The FAQ already shows how to send mail.
About | Sitemap | Contact