Solved

email to friend

Posted on 2001-06-28
6
455 Views
Last Modified: 2013-11-24
Hi all,

I want to send an email, in attachment I want to send the content of the html file.(ex: tell a friend,
email to a friend). I know how to send the URL of that page, but I want to send the content of that
html file through email.

How can i do it? (using java)
0
Comment
Question by:preeth
6 Comments
 
LVL 15

Accepted Solution

by:
mohan_sekar earned 50 total points
ID: 6234462
Dear preeth,

         Try using javax.mail package which comes as a separate bundle from java.sun.com

bye
0
 

Expert Comment

by:kamaljeets
ID: 6234618
Hi!
 in javax.mail there is an example for sending emails(with attachments),
hope tht will help u

Kamal
0
 

Expert Comment

by:kamaljeets
ID: 6234640
Hi!
 in javax.mail there is an example for sending emails(with attachments),
hope tht will help u

Kamal
0
 

Expert Comment

by:CleanupPing
ID: 9062015
preeth:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 9253889
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:


[points to mohan_sekhar]


Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
sudhakar_koundinya
EE Cleanup Volunteer
---------------------
If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers, please post your concern in THIS thread.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

774 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question