Hi
Can anyone suggest how we can interface Outlook Express with java in
order to send email?
I want to add 'Email Friend' link in my project, on clicking on this
link Outlook Express should open with a specified file attached.
I searched on net also, but I am getting only JOC everywhere which is
not freeware.
Please suggest me on the same that how it can be done?
Thanks
Param
Andrew Thompson - 07 Dec 2006 07:35 GMT
> Hi
.....
Please refrain from multi-posting.
(X-post to c.l.j.p./h., w/ f-u to c.l.j.h. only)
Andrew T.
Flo 'Irian' Schaetz - 07 Dec 2006 10:56 GMT
> Please suggest me on the same that how it can be done?
Your problem hasn't got much to do with Java... But you can start Outlook
Express by using...
msimn.exe /mailurl:email@address
So you only have to use the Runtime System to start a new process. Bingo.
But of course, this will only work on Windows machines with installed OE...
Flo
TechBookReport - 07 Dec 2006 11:12 GMT
> Hi
>
[quoted text clipped - 11 lines]
> Thanks
> Param
Java 6.0 is the best place to look. Take a look at:
http://www.devx.com/Java/Article/30722/1954?pf=true
In particular JDIC provides access to the default email client. This
makes it possible to write cross-platform code to send emails rather
than hard-coding OE.
HTH

Signature
TechBookReport Java http://www.techbookreport.com/JavaIndex.html
Greg R. Broderick - 09 Dec 2006 16:54 GMT
"param" <param.sethi@gmail.com> wrote in news:1165476180.760981.251300@
80g2000cwy.googlegroups.com:
> Hi
>
[quoted text clipped - 8 lines]
>
> Please suggest me on the same that how it can be done?
Why limit yourself to one email client? Especially one that has been
officially end-of-lifed by its creator, Microsoft.
Instead, I would recommend that you use a Java-based email library, such as
JavaMail (http://java.sun.com/products/javamail/downloads/index.html) or
Apache's Commons Net library (http://jakarta.apache.org/commons/net/) to
build the ability to send email directly into your application.
Cheers
GRB

Signature
---------------------------------------------------------------------
Greg R. Broderick gregb.usenet200609@blackholio.dyndns.org
A. Top posters.
Q. What is the most annoying thing on Usenet?
---------------------------------------------------------------------