" /> Proactive email with attachement - Genesys CTI User Forum

Author Topic: Proactive email with attachement  (Read 2342 times)

Offline smile

  • Sr. Member
  • ****
  • Posts: 286
  • Karma: 6
Proactive email with attachement
« on: September 03, 2013, 08:19:58 AM »
Advertisement
Hi All

I'm looking for ability to send attached file with email generated from outbound proactive campaign. I know that there is no standard procedure for such task. The main feature is that i have external web service which generate file content in base64. The only thing that i need to do is add next part into generated message.
I see following abilities how to do it:
1. use external service block to submit email content to ucs and then use it for email sending, but i don't know what kind of service/method would be useful for it.
2. Or use "create interaction" block and attach message content via userdata. But attached message may be up to 200KB, which is more than userdata size limit.
3. develop my own media server, but i think it's more hardest way

does anybody have tried to do same task? any suggestions? thanks in advance.

Offline Timur Karimov

  • Sr. Member
  • ****
  • Posts: 415
  • Karma: 2
Re: Proactive email with attachement
« Reply #1 on: September 03, 2013, 10:00:01 AM »
Hi there

For fixed attachment you can use the Standard Response feature. For dynamic...you can try to "dig"  - how to the standard response with attachment is used by URS to generate you message in similar way. I believe it's still some sort of write "content" in Interaction DB and then send it directly from them. So in a first look you can try to reproduce it with "Create Interaction" block.
Second way which i can see  - try to dynamic update the Standard Response content in DB before the use it in "Create Email Out" object. The great problem with such method - you need some sort of "locked pointer" to prevent miss update from different parallel interactions.
And , of course =))) , third one - use Genesys URS to push interaction data(like target, address info, attached data, etc.)  in third-party custom service which used them to create e-mail content and send it by standard smtp process.

HIH.
WBR Tim

Offline smile

  • Sr. Member
  • ****
  • Posts: 286
  • Karma: 6
Re: Proactive email with attachement
« Reply #2 on: September 04, 2013, 01:26:06 PM »
probably found solution:

  Service=OMInteractions
  Method=AddDocument
  Parameters=
    [
      InteractionId="030Q7SJHXW51T6JV"
      MimeType="application/unknown"
      TheName="autoexec.bat"
      TheSize=24
      Content=<binary>
      tkv.multibytes="false"
    ]
  UserData=
    [
    ].