[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Sending an email from Java code with links in it

Posted on 2013-06-29
4
Medium Priority
?
284 Views
Last Modified: 2013-07-03
Hi,
I have an automated email sending class that uses swing to do the sending.
What text do I send as a string to include links or images in it? Must I simply send an <HTML> page's text for the email to have links, images at the receiving end?
If I send HTML from a Yahoo email, the html text is what is received.
Thanks
0
Comment
Question by:beavoid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 39287965
Yes, the mime type must be set to text/html. This is normally a part of the JavaMail procedure
0
 

Author Comment

by:beavoid
ID: 39288405
Thanks
How is that done? What Object must I act on?

So, once I set it to HTML. My message can be drafted in HTML?
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 2000 total points
ID: 39288418
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39298083
:)
0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

An analysis of the phishing scam that has been affecting Google users, along with steps to take for protection, as well as what to do if you receive one of the emails.
This article is written by John Gates, CISSP. Gates, the SNUG President-Elect, currently holds the position of Manager of Information Systems at Lake Park High School in Roselle, Illinois.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

650 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