+1 vote

I am wanting to build an email that contains non-ascii characters in the subject. It seems there is a standard RFC2047 that discusses this.

Can I do this in Mail.dll?

by (8.8k points)

1 Answer

+1 vote
 
Best answer

Of course! It will be properly encoded (and decoded when parsed). You don't need to worry nor read the RFCs.

MailBuilder builder = new MailBuilder();
builder.Subject = "National characters: zażółć (make it yellow)"
IMail email = builder.Create();
by (300k points)
...