sending email with header and signature
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   maxx_kidd
Posted On:   Wednesday, January 12, 2005 06:07 AM

i am new to javamail. my question is how do you embed header and signature to a message and also i would like to ask how can i put links in the message to be sent.

Re: sending email with header and signature

Posted By:   ofer_zinger  
Posted On:   Wednesday, January 12, 2005 06:59 AM

well,
as far as I know, the header and the signature are just
parts of the messege's text. IE

BodyPart messageBodyPart = new MimeBodyPart();
// Fill the message
messageBodyPart.setText("anything you want");

most mail reader today are capable of reading msgs in HTML
format, giving you the opportunity to add images as mime attachments.

if you put an a href html tag, you will probably see a link in the right mail browser.
About | Sitemap | Contact