BF [ 1778381 ] EMailDialog bug in CC address tokenizer

This commit is contained in:
deathmeat 2007-08-21 08:17:22 +00:00
parent 9601efb8b9
commit 968b6bc3c1
1 changed files with 5 additions and 4 deletions

View File

@ -377,11 +377,12 @@ public class EMailDialog extends CDialog
email.addTo(st.nextToken()); email.addTo(st.nextToken());
// cc // cc
StringTokenizer stcc = new StringTokenizer(getCc(), " ,;", false); StringTokenizer stcc = new StringTokenizer(getCc(), " ,;", false);
while (stcc.hasMoreTokens())
{
String cc = stcc.nextToken(); String cc = stcc.nextToken();
if (cc != null && cc.length() > 0) if (cc != null && cc.length() > 0)
email.addCc(cc); email.addCc(cc);
while (stcc.hasMoreTokens()) }
email.addCc(stcc.nextToken());
// Attachment // Attachment
if (m_attachFile != null && m_attachFile.exists()) if (m_attachFile != null && m_attachFile.exists())
email.addAttachment(m_attachFile); email.addAttachment(m_attachFile);