Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 290
  • Last Modified:

Sending an email from Java code with links in it

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
beavoid
Asked:
beavoid
  • 3
1 Solution
 
CEHJCommented:
Yes, the mime type must be set to text/html. This is normally a part of the JavaMail procedure
0
 
beavoidAuthor Commented:
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
 
CEHJCommented:
:)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now