javax.mail.BodyPart.getSize could not be convertedĀ
In the Java language, this method returns the size, in bytes, of 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