Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / December 2006

Tip: Looking for answers? Try searching our database.

Send email attachments using Java through Outlook Express

Thread view: 
param - 07 Dec 2006 07:23 GMT
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?
---------------------------------------------------------------------



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.