Receiving attachments from emails

And again the question ..
Need to get emails of attachment. I’m trying to get them in such a way:

Model.InteractionInboundEmail = Model.Case.MainInteraction as IInteractionInboundEmail;
if (Model.InteractionInboundEmail.EntrepriseEmailAttachments.Count > 0){
var arr = Model.InteractionInboundEmail.EntrepriseEmailAttachments;
foreach (arr in Model.InteractionInboundEmail.EntrepriseEmailAttachments)
{
}
}

But I can not understand that for the type of collection, how to handle it?
Please tell me what type of collection to convert? And how to use it …

Visual Studio show you it within intelisense

I am sorry I did not understand you.
please tell me what type and how to convert the library he is?

All is described on website with docs and as I said, all is visible within VS:

System.Collections.Generic.ICollection<Genesyslab.Enterprise.Model.Contact.IAttachment>

yeah I saw it, but I have not namespace “Contact” in “Genesyslab.Enterprise.Model”. I downloaded the latest version SDK. Library Version “Genesyslab.Enterprise.Model” 8.1.301.12

It is there as well in version lower than 8.1.3xxx

2 Likes

I can not find: (
tried to install version Interatstion Workspace 8.0.100.15; 8.1.000.33; 8.1.200.30; 8.1.301.24; 8.1.401.39
Tell me where can I find it? And another question if he was excluded, that is another way of handling attachments in new versions, right?

2 Likes

The requested namespace in Genesyslab.Enterprise.Services.Contact assembly

Thank you very much!
thanks for your patience, and what not remain indifferent! ::slight_smile:
if not your forum, I do not know what I would do …

You are welcome :wink:

1 Like