|
How do I use the Attachment and AttachmentCollection class together with the MailMessage. On MailMessage there's an readonly property "Attachments", but how can i set it? purpose: new messages locally created in a different format that should be uploaded to imap server |
|
Use the
Following code will fill values for some basic properties and will upload the message to the server via IMAP:
You may also find following tutorials handy: |