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());
|
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);
|
||||||
|
|
Loading…
Reference in New Issue