• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

E-mailing functionality in Java

 
Varsha Goswami
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my java application I have many screens with data in tables (as reports) and graphs etc. There is an e-mail button. On click of this e-mail button i want the facility to e-mail that screen or that report. If anybody have an idea in this please help me out!!
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this question about how to create something that can be emailed (like a PDF of that report), or about how to send emails using Java?
 
Varsha Goswami
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want that on click of an e-mail icon in jsp.... my outlook express compose mail option should get opened... and that mail should contain data which we can see in the jsp page.... For ex: if my jsp page contains a table having data then on click of e-mail icon that table should be displayed as it is in outlook mailing screen....i dont want that table in jsp page to be attached in the mail as a screenshot....
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please refrain from using the color and size font tags for the entire post; that's rather annoying. Those are meant to highlight small sections of text.

So you want to create an HTML mail from the web page, and you don't actually want to send it, but rather it should be somehow transferred into Outlook?
 
Varsha Goswami
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh Sorry ... will consider your point from now onwards...

Actually I want to compose mail using outlook only...and then user can send it to any id.
 
Swastik Dey
Rancher
Posts: 1604
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess its someway related to html href attribute, and if I am not wrong following should solve your purpose

 
Varsha Goswami
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes i tried that... but it is not working as we want....a mail opens up having id that we have mentioned in the link.... but my report is not viewable in the message body of the outlook!!!
 
Swastik Dey
Rancher
Posts: 1604
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can mention the subject and body too

 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can mention the subject and body too

But there's no way to make a mailto: link transfer elements of a web page into an email client, so this is a dead end.
 
Varsha Goswami
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes thats ok... but how to get the message body properly is my question? I want my reports to be displayed as it is in the message body!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic