We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Number of attachments


Is there any documentation that specify how many attachments we can add to a MailMessage? We dont see any such information in documentation.

Hi Leo,

Thank you for posting your inquiry.

There is no practical reason on the number of attachments you can add to a MailMessage. However, this is limited by the size of MailMessage which is supported by the email servers. Most of the servers (including public ones) don’t allow messages of size greater than 10 MB. So, if your attached message attachments takes the size of message to greater than the available limit, it will create errors. Please let us know if you need further assistance in this regard.