James Hancock
asked on
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
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
Yes, the mime type must be set to text/html. This is normally a part of the JavaMail procedure
ASKER
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?
How is that done? What Object must I act on?
So, once I set it to HTML. My message can be drafted in HTML?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:)