aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes how to send multiple data in a table in a mail application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "how to send multiple data in a table in a mail application?" Watch "how to send multiple data in a table in a mail application?" New topic
Author

how to send multiple data in a table in a mail application?

Rd Dari
Ranch Hand

Joined: Feb 22, 2010
Posts: 210

Hi all,

I am sending mail using java and in this data is showing which i am sending in a table but this data not send dynamically only a single data in the mail table.

Please tell me how it is possible

code is here:

mail output is here....



i want to send in this table multiple data.....

Thanks in advanced
Mahendra Suda
Greenhorn

Joined: Apr 22, 2011
Posts: 18



As your requirement you are running while loop at wrong place, so in your code only one values will be there in all the property, instead you have to generate the report data inside while loop.. Try above code of replacement of while loop and Html string... Should work.


http://www.java-connect.com
Rd Dari
Ranch Hand

Joined: Feb 22, 2010
Posts: 210

Hi Mahendra Suda ,


Thank you so much I done it from your help...
Really this site is so helpful and so friendly...

Thanks once again..
 
Consider Paul's rocket mass heater.
 
subject: how to send multiple data in a table in a mail application?