Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Want to send an email in table format  RSS feed

 
Ravi Pandya
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to send an email in table format,
I cannot use HTML, I have to send simple test based email.

Process:-
I am going to take data from data base and send email in table format.


Help me ASAP.
Thanks in Advance.
 
Rob Spoor
Sheriff
Posts: 21087
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi Pandya wrote:Process:-
I am going to take data from data base and send email in table format.

Use spaces to align columns. You can use dashes (-) and pipes (|) to create the borders. Note that you'll need to calculate the maximum width per column so you know how many spaces to use.

Help me ASAP.

Please EaseUp.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note, though, that many email clients do not use a monospaced font (like Courier) by default, but a proportional font - so the mail will not look formatted until (and unless) the user selects such a font.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!