login about faq

I am evaluating Chilkat's .NET Imap component (ChilkatDotNet45.dll) in PowerShell. It works well. But if you receive an email made in Apple's Mail app, the attachments aren't recognized.

I use this to check if there are attachments : $num_att = $email.NumAttachments

The mail part itself is handled okay.

Is this a known problem or is there a trick to make it work ?

Mail with attachments from other program's (Outlook, Thunderbird, Android device etc) work fine and the attachments are recognized.

Regards, Herman.

asked Aug 17 '17 at 10:32

Herman's gravatar image


Thanks. I received the email. The email actually does not contain any attachments. It contains related items. Related items are those images and other elements that are part of the HTML body. See the online reference documentation for the methods and properties for related items (which are separate from those methods/properties for true attachments).


answered Aug 18 '17 at 07:44

chilkat's gravatar image

chilkat ♦♦

A few quick things you might check:

1) Make sure you're not downloading headers-only.

2) Make sure the imap.AutoDownloadAttachments property is set to true.

Assuming you're downloading full emails with attachments, then send a sample email with attachments (from the Apple Mail app) to support@chilkatsoft.com. I'll have a look at the MIME of the email to see how it's structured.


answered Aug 17 '17 at 10:36

chilkat's gravatar image

chilkat ♦♦

Thanks for the answer.

AutoDownloadAttachments is True. The message is fetched with $imap.FetchSingle($i,$false).

I wil send an email to support@chilkatsoft.com

Regards, Herman.


answered Aug 18 '17 at 06:31

Herman's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 17 '17 at 10:32

Seen: 1,345 times

Last updated: Aug 18 '17 at 07:44

powered by OSQA