Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: GnomE on June 30, 2014, 12:05:16 PM

Title: Receiving attachments from emails
Post by: GnomE on June 30, 2014, 12:05:16 PM
And again the question ..
Need to get emails of attachment. I'm trying to get them in such a way:
[code]Model.InteractionInboundEmail = Model.Case.MainInteraction as IInteractionInboundEmail;
if (Model.InteractionInboundEmail.EntrepriseEmailAttachments.Count > 0){
var arr = Model.InteractionInboundEmail.EntrepriseEmailAttachments;
foreach (arr in Model.InteractionInboundEmail.EntrepriseEmailAttachments)
{
}
}[/code]
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 ...
Title: Re: Receiving attachments from emails
Post by: Kubig on July 02, 2014, 04:21:06 AM
Visual Studio show you it within intelisense
Title: Re: Receiving attachments from emails
Post by: GnomE on July 02, 2014, 06:40:10 AM
[quote author=Kubig link=topic=8408.msg36924#msg36924 date=1404274866]
Visual Studio show you it within intelisense
[/quote]
I am sorry I did not understand you.
please tell me what type and how to convert the library he is?
Title: Re: Receiving attachments from emails
Post by: Kubig on July 02, 2014, 07:59:48 AM
All is described on website with docs and as I said, all is visible within VS:
[code]System.Collections.Generic.ICollection<Genesyslab.Enterprise.Model.Contact.IAttachment>[/code]
Title: Re: Receiving attachments from emails
Post by: GnomE on July 02, 2014, 08:10:21 AM
[quote author=Kubig link=topic=8408.msg36926#msg36926 date=1404287988]
All is described on website with docs and as I said, all is visible within VS:
[code]System.Collections.Generic.ICollection<Genesyslab.Enterprise.Model.Contact.IAttachment>[/code]
[/quote]
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
Title: Re: Receiving attachments from emails
Post by: Kubig on July 02, 2014, 01:49:43 PM
It is there as well in version lower than 8.1.3xxx
Title: Re: Receiving attachments from emails
Post by: GnomE on July 03, 2014, 05:42:27 AM
[quote author=Kubig link=topic=8408.msg36930#msg36930 date=1404308983]
It is there as well in version lower than 8.1.3xxx
[/quote]
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?
Title: Re: Receiving attachments from emails
Post by: Kubig on July 03, 2014, 08:02:49 AM
The requested namespace in Genesyslab.Enterprise.Services.Contact assembly
Title: Re: Receiving attachments from emails
Post by: GnomE on July 03, 2014, 12:03:42 PM
[b]Thank you very much! [/b]
thanks for your patience, and what not remain indifferent!  ::)
if not your forum, I do not know what I would do ...
Title: Re: Receiving attachments from emails
Post by: Kubig on July 03, 2014, 02:25:13 PM
You are welcome ;-)