(From update of attachment 351464) >+ CopyUTF8toUTF16(outCString, bcc); >+ if (bcc.Length() > 0) >+ compFields->SetBcc(bcc); Could be if (!outCString.IsEmpty()) compFields->SetBcc(NS_ConvertUTF8toUTF16(outCString)); [Length() is wrong either way]
(From update of attachment 351464) (outCString, bcc); >SetBcc( bcc); IsEmpty( )) >SetBcc( NS_ConvertUTF8t oUTF16( outCString) );
>+ CopyUTF8toUTF16
>+ if (bcc.Length() > 0)
>+ compFields-
Could be
if (!outCString.
compFields-
[Length() is wrong either way]