BF [ 1778381 ] EMailDialog bug in CC address tokenizer
This commit is contained in:
parent
9601efb8b9
commit
968b6bc3c1
|
@ -377,11 +377,12 @@ public class EMailDialog extends CDialog
|
|||
email.addTo(st.nextToken());
|
||||
// cc
|
||||
StringTokenizer stcc = new StringTokenizer(getCc(), " ,;", false);
|
||||
while (stcc.hasMoreTokens())
|
||||
{
|
||||
String cc = stcc.nextToken();
|
||||
if (cc != null && cc.length() > 0)
|
||||
email.addCc(cc);
|
||||
while (stcc.hasMoreTokens())
|
||||
email.addCc(stcc.nextToken());
|
||||
}
|
||||
// Attachment
|
||||
if (m_attachFile != null && m_attachFile.exists())
|
||||
email.addAttachment(m_attachFile);
|
||||
|
|
Loading…
Reference in New Issue