+1 vote

First, I would like to say that I use your product for more than 6 months now for my CRM web app and I am happy with it . I have correctly received more than 100.000 e-mails with no errors.

Here is my issue,
When a user opens an e-mail, I show the attached files using the nonvisuals collection. In very most cases it works, but I have a problem with some iphone e-mail. The nonvisual collections is empty although there is 2 attached files.

Do I do wrong when I look for the attached files in the nonvisuals collection?
Should I look into some other collections?

Thank you for your help.

2 other little things:
There may be a mistake in the documentation. Indeed you say that nonvisuals collection contains visual elements and that visuals collection contains non visual elements (see screenshot below).

When I debug, I don’t see the names of the properties of your objects. I see squares instead, then it is quite hard to debug (see my screenshot below). I use Visual Studio Enterprise 2017. Do you know what I could do?

by

1 Answer

0 votes
 
Best answer

Do I do wrong when I look for the attached files in the nonvisuals collection?

NonVisuals contains all attachments that have content-disposition set
to "attachment" (real attachments).

Now, this happens a lot with apple/iphone emails, those devices tend to send emails like this:

  1. "Hello this is my photo:", text, (inline)

  2. image, (inline)

  3. "Hope you like it", text, (inline)

Most clients would use HTML and send this differently:

  1. "Hello this is my photo <img href="cid:123" /> hope you like it.", html, (inline)

  2. image, (inline), (content-id:123)

Your only option is to traverse all visual elements and display them one by one beneath IMail.Text in such situation.

There may be a mistake in the documentation.

You are right! Sorry for that, we'll fix that in the next release.

When I debug, I don’t see the names of the properties of your objects.

Those are private properties and this is because of obfuscation, can't change that really.

by (297k points)
...