• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Create an Outlook email

 
Greenhorn
Posts: 10
Android Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I'm in the need to create an email on Outlook using, of course, Java. I'm working with Java 5.
In addition I cannot send the email from the server as I need to view it before it is dispatched. In short I'd like to create it automatically but send it manually.
I have tried using the Javascript function 'mailto' but it has a maximum amount of text I can send through it and it doesn't work for me either.

Is there any way I can create an email in Outlook from the Java source code?

Thanks a lot in advance
Regards
 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

maximiliano marasso wrote: In addition I cannot send the email from the server as I need to view it before it is dispatched.



I don't see why that prevents you from using the server to send the e-mail. Of course you couldn't view it as an e-mail, but there's nothing stopping you from viewing it in some other way. In a JTextArea, for example.
 
maximiliano marasso
Greenhorn
Posts: 10
Android Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Paul for your reply.

...there's nothing stopping you from viewing it in some other way...


You are right about that, but my goal is to open an Outlook email window, populate the recipients addresses and the body and then click on the "Send" button.
Is this possible with Java?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic