• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

E-mailing functionality in Java

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!!
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 2270
20
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 2270
20
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can mention the subject and body too

 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!!!
 
moose poop looks like football shaped elk poop. About the size of this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic