From e2a7a55cf320a8e5e3e26d10a868ab7012f68148 Mon Sep 17 00:00:00 2001 From: steiler Date: Sat, 12 Mar 2011 01:16:43 +0100 Subject: [PATCH] Issue 3104: Can't bcc to more than 1 address --- src/com/fsck/k9/activity/MessageCompose.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/com/fsck/k9/activity/MessageCompose.java b/src/com/fsck/k9/activity/MessageCompose.java index 3cb514e3f..f971deae3 100644 --- a/src/com/fsck/k9/activity/MessageCompose.java +++ b/src/com/fsck/k9/activity/MessageCompose.java @@ -504,7 +504,10 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc if (!ACTION_EDIT_DRAFT.equals(action)) { String bccAddress = mAccount.getAlwaysBcc(); if ((bccAddress != null) && !("".equals(bccAddress))) { - addAddress(mBccView, new Address(bccAddress, "")); + String[] bccAddresses = bccAddress.split(","); + for (String oneBccAddress : bccAddresses) { + addAddress(mBccView, new Address(oneBccAddress, "")); + } } }