Solved

email to friend

Posted on 2001-06-28
6
454 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error with Java/Cache JDBC Classpath 2 31
GUI builder for Eclipse? 8 27
javap bin 2 30
Windows 10 and JDK 7 7u85 4 33
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 …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
The viewer will learn how to implement Singleton Design Pattern in Java.

864 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now