" /> Email delivery errors treatment - Genesys CTI User Forum

Author Topic: Email delivery errors treatment  (Read 3404 times)

Offline smile

  • Sr. Member
  • ****
  • Posts: 286
  • Karma: 6
Email delivery errors treatment
« on: April 28, 2011, 09:01:55 AM »
Advertisement
Hi All

When mcr routing is used some interactions which ends by 'create email out'/'send email' send message without errors. But after several time mail server sends reply message 'Returned to Sender' because of wrong user name or remote server is out of order. The main trouble is that this messages comes into inbound email queue. What is the best practices to process such delivery reports?

And another one question is - how I can add 'reply-to' field when calling 'create email out' or 'redirect' function?
Thanks.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Email delivery errors treatment
« Reply #1 on: April 28, 2011, 05:49:43 PM »
If you install the MCR samples there are some strategies that handles this. Basically the idea is that if you see it has a specific error (9 I think?) and therefore you can catch it and send it to a specific queue or stop it...

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Email delivery errors treatment
« Reply #2 on: April 29, 2011, 08:10:39 AM »
Hi smile,

Email Server Java can detect delivery report messages and mark these with corresponding interaction subtype. There is a section related to this in Multimedia 7.6 User's Guide - look for 'Delivery Status Notification and Message Disposition Notification'. If you need to handle different type of message then you can try to identify these using data stored in messages' header (all headers are added as User Data) or using screening.

[quote]And another one question is - how I can add 'reply-to' field when calling 'create email out' or 'redirect' function?
Thanks.[/quote]
Have you tried to specify Reply-To key in Header Fields section of Send Email object?

R.

Offline smile

  • Sr. Member
  • ****
  • Posts: 286
  • Karma: 6
Re: Email delivery errors treatment
« Reply #3 on: April 29, 2011, 09:38:03 AM »
cavagnaro, René  thanks! i found the solution in interactionsubtype=InboundNDR.

[quote author=René link=topic=6399.msg27851#msg27851 date=1304064639]

[quote]And another one question is - how I can add 'reply-to' field when calling 'create email out' or 'redirect' function?
Thanks.[/quote]
Have you tried to specify Reply-To key in Header Fields section of Send Email object?

R.
[/quote]

i've used 'redirect' block, there is no Header Fields in it. Can i add my own fields via userdata like '_outboundtoaddress'? and where i can find description of all '_' keys?

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Email delivery errors treatment
« Reply #4 on: May 09, 2011, 01:18:11 PM »
[quote]i've used 'redirect' block, there is no Header Fields in it.[/quote]
You can still add Header keys in Send E-Mail blocks as Redirect only creates an interaction...

[quote]Can i add my own fields via userdata like '_outboundtoaddress'? and where i can find description of all '_' keys?[/quote]
I don't think it will work but you can try.

R.

Offline bsofu

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Email delivery errors treatment
« Reply #5 on: May 26, 2016, 01:27:59 AM »
Reply-To field seems to be reserved and e-mail server is throwing an error when you add it to the header per UR 8.1 Reference manual page 271. Has anybody managed to add a Reply-To field to an outgoing e-mail ?  ???

[quote]
Warning: E-mail Server Java returns an error if:
• One of the following (reserved by E-mail Server Java) are present:
AddedHeaderList (from GUI parameters) and _AddedHeaderList (from
UserData).
• One of the following (reserved by E-mail Server Java) is used for the
header name: Return-Path, Received, Message-Id, Resent-Date, Date,
Resent-From, From, Reply-To, Sender, To, Cc, Bcc, Subject, In-Reply-To,
Resent-Message-Id, Errors-To, MIME-Version, Content-Type, Content-
Transfer-Encoding, Content-MD5, Content-Length, or Status.
[/quote]
« Last Edit: May 26, 2016, 01:35:38 AM by bsofu »

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Email delivery errors treatment
« Reply #6 on: May 26, 2016, 06:35:48 AM »
Yes, I did and it works  :) You can achieve that through an IRD block called "Update UCS record", where you can specify the key "ReplyToAddress" with valid email address as the value.