Return-Path: X-Original-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Delivered-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D737F1728D for ; Fri, 31 Oct 2014 11:43:56 +0000 (UTC) Received: (qmail 15781 invoked by uid 500); 31 Oct 2014 11:43:56 -0000 Delivered-To: apmail-james-mime4j-dev-archive@james.apache.org Received: (qmail 15743 invoked by uid 500); 31 Oct 2014 11:43:56 -0000 Mailing-List: contact mime4j-dev-help@james.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mime4j-dev@james.apache.org Delivered-To: mailing list mime4j-dev@james.apache.org Delivered-To: moderator for mime4j-dev@james.apache.org Received: (qmail 75209 invoked by uid 99); 31 Oct 2014 00:47:37 -0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jsnlry@gmail.com designates 209.85.192.44 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=KUg3Ro6urNpAyH+TjK0XtdBhBQZuUnlFAt+Vsf1I6gA=; b=RO+Zi883TR7/UhKdbJHpayqZG8xGjvJKwtOVdprKTw/Ai/KMsyWuFY+mbn/EBUxtiy ITSmJemVQl4IvvVZTavoLDpB7Z2KqoVLTxYhAv5RtdppFwogWzgaFRTdLl4ajNN1hnOv 58hCdSCI8JZx07Qd02yxjsCG07FhGGjY5XJvqlgFhezknG9r8lHzgnd6wYzFEYskOgC/ Kno0FURoU3hyCNjfzIoeChIZEHdxDZdSfkDr7WUbhy4pB50iz9unSPFS035Oqu4rS+Ev h+XhDML9XNSGYP2ipU9zKMqZQfgULnrbyNFb5CHgGfOejTvR4WZTlvm1BSt0P0IEDxiQ p38g== MIME-Version: 1.0 X-Received: by 10.224.93.18 with SMTP id t18mr11568511qam.102.1414716430952; Thu, 30 Oct 2014 17:47:10 -0700 (PDT) Date: Fri, 31 Oct 2014 01:47:10 +0100 Message-ID: Subject: add footer/signature to existing mail message From: Jason Leroy To: mime4j-dev@james.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi all, In one of my Java applications I have to forward e-mails. So, I get e-mails (plain text or multipart) with any content (maybe also attachments). I parse them, edit their subject, from- and to-header and send them via SMTP. I already implemented this using Apache James Mime4j and Apache Commons Net but now I also have to append a footer/signature to the content of each e-mail. Can I achieve this with Mime4j too? Would be great! But I could not find any documentation explaining this. Thanks Jason