Solved

Sending an email from Java code with links in it

Posted on 2013-06-29
4
273 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
  • 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 500 total points
ID: 39288418
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39298083
:)
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Facebook, email, text receiving unwanted messages 7 52
Zavio B7510 5M manual download 2 40
Java string replace 11 46
Undo Sprint PCS iPhone 7 Plus iOS upgrade 4 15
With the shift in today’s hiring climate (http://blog.experts-exchange.com/ee-blog/5-tips-on-succeeding-in-the-new-gig-economy/?cid=Blog_031816), many companies are choosing to hire freelancers to get projects completed efficiently and inexpensively…
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

770 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