• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question in javaMail

 
Irakli Bliadze
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i sending mail with javaMail, i did all, sending attachment but i can not add signature to mail text,
anyone can suggest how to do this? and if pssible show it
 
Raphael Okochu
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Irakli, if your signature consists of only plain text, why not append the signature to the end of the message body. Otherwise consider using a multipart message.
 
Irakli Bliadze
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes i have multipart because i needed to to attachment and so on,
can you write me little demonstration script or signiture in multipart script?
 
Tim Moores
Bartender
Posts: 2749
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the extensive tutorial linked in http://www.coderanch.com/how-to/java/JavaEnterpriseEditionFaq; it shows almost all aspects of JavaMail with code examples.
 
Irakli Bliadze
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you for this tutorial, i think it will help me
 
Rob Spoor
Sheriff
Pie
Posts: 20512
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Signatures are just part of the message body. They're not different from the rest of it. All you need to do is include the signature in your body. For plain text bodies / body parts that's easy, for HTML bodies / body parts you need to embed it into your existing HTML.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic