0 votes

If CreateFromEml(string) is obsolete - which encoding should I use to convert it to byte[]? ASCII?

by

1 Answer

0 votes

You should not convert byte[] array with eml data to string.

All GetMessageXXX, for POP3 and IMAP return email data as byte[] array, MailBuilder.CreateFromEml now accepts byte[] array as parameter.

There is no need to perform any byte[] to string conversion.

If for some reason you absolutely must do this, use any 8bit encoding.
(ASCII uses 7bits only)

by (297k points)
reply addres count not working
...