javax.mail.BodyPart.getContent could not be convertedĀ
In the Java language, this method returns the content of a Part object.
In the .NET Framework, there is no direct equivalent.
To correct this error
- Use the System.Web.Mail.MailAttachment class.
See Also
Reference
System.Web.Mail Namespace
MailMessage Class
MailAttachment Class