Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Footer Using JavaMail  RSS feed

 
Amer Seifeddine
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

Is there anyway to set a footer using JavaMail API?

Thanks.
 
Ian Darwin
author
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not clear what you mean.

Since JavaMail lets you put whatever you want in a message, appending a line with "----" and your signature, for example, should be trivial. Or make it fancier with a multipart MIME message. See the api documentation for example code.
 
salvin francis
Bartender
Posts: 1588
35
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the OP meant the use of signatures from the Server instead of the client itself.

ie. Suppose I have a signature in GMAIL as



Then the imap/Pop3 client too has the same signature.

by the way this problem is faced by me too, i have tried a couple of times in vain.
 
Rob Spoor
Sheriff
Posts: 21087
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think know that the OP is no longer active. http://faq.javaranch.com/java/DontWakeTheZombies
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!