javax.mail.internet.MimeBodyPart.getHeader could not be converted (Java Language Conversion Assistant) (2) 

In the Java language, this method returns all headers for a header name as a single string, with headers separated by a delimiter. If the delimiter is NULL, only the first header is returned.

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

To correct this error

  • Use the System.Web.Mail.MailMessage.Headers property.

See Also

Reference

MailAttachment Class
MailMessage Class
System.Web.Mail Namespace

Concepts

Conversion of JMS Applications