javax.mail.internet.MimeBodyPart.getEncoding could not be convertedĀ 

In the Java language, this method returns the content-transfer-encoding header field.

In the .NET Framework, there is no direct equivalent.

To correct this error

  • Use the System.Web.Mail.MailAttachment.Encoding property.

See Also

Reference

System.Web.Mail Namespace
MailMessage Class
MailAttachment Class

Concepts

Conversion of JMS Applications