Service 'Email' failed in method 'Send' (ErrorCode=701 ErrorMsg=Unexpected error

now this is the logs of PSDK which allow to see the requests needed with all paramters set::

PID:14A8, TID:000A [bdo.dll 1.0.0.2] Query object type: CFGTenant Query filters: Key: name, Value: Environment

PID:14A8, TID:000A [bdo.dll 1.0.0.2] next time you should call wcb_Instanciate() before !
PID:14A8, TID:000A [bdo.dll 1.0.0.2] interaction server: wcb_Instanciate(): ok
PID:14A8, TID:000A [bdo.dll 1.0.0.2] ISrvAccs.cs: Connect(‘tcp://demosrv.genesyslab.com:4420’)
PID:14A8, TID:000A [bdo.dll 1.0.0.2] ISrvAccs.cs: strUri: tcp://demosrv.genesyslab.com:4420
strClientName: SIP_Server_Place3
tenantId: 1
strPlaceName: Place_iWD
strPerson: demo

PID:14A8, TID:000A [bdo.dll 1.0.0.2] ISrvAccs.cs: Connect(): Success
PID:14A8, TID:000C [bdo.dll 1.0.0.2] ISrvAccs.cs: — proto_Opened —
PID:14A8, TID:000A [bdo.dll 1.0.0.2] ISrvAccs.cs: ‘RequestAgentLogin’ (‘135’)
message attributes:
attr_tenant_id [int] = 1
attr_place_id [str] = “SIP_Server_Place3”
attr_agent_id [str] = “MCR_Agent0”
attr_donot_disturb [bool] = True

PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ISrvAccs.cs: EventForwarder
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ISrvAccs.cs: EventAck
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] interaction server: Callback_InteractionServer: ----------------->(‘EventAck’)<-----------
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] interaction server: ‘EventAck’ (‘125’)
message attributes:
attr_ref_id [int] = 2

PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ‘EventAck’ (‘125’)
message attributes:
attr_ref_id [int] = 2

PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ItxSrv:StatusForwarder()
PID:14A8, TID:000A [bdo.dll 1.0.0.2] ISrvAccs.cs: SubmitMail(True)
PID:14A8, TID:000A [bdo.dll 1.0.0.2] ISrvAccs.cs: ‘RequestSubmit’ (‘101’)
message attributes:
attr_itx_subtype [str] = “OutboundNew”
attr_media_type [str] = “email”
attr_queue [str] = “E-Mail Out”
attr_itx_type [str] = “Outbound”
attr_tenant_id [int] = 1
attr_ref_id [int] = 3

PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ISrvAccs.cs: EventForwarder
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ISrvAccs.cs: EventCurrentAgentStatus
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] interaction server: Callback_InteractionServer: ----------------->(‘EventCurrentAgentStatus’)<-----------
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] interaction server: ‘EventCurrentAgentStatus’ (‘155’)
message attributes:
attr_ref_id [int] = -1
AgentDescription = ComplexClass(AgentDescription):
attr_tenant_id [int] = 1
attr_place_id [str] = “SIP_Server_Place3”
attr_agent_id [str] = “MCR_Agent0”
attr_donot_disturb [bool] = True
attr_media_state_list [bstr] = KVList:
attr_media_capacity_list [bstr] = KVList:

PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ‘EventCurrentAgentStatus’ (‘155’)
message attributes:
attr_ref_id [int] = -1
AgentDescription = ComplexClass(AgentDescription):
attr_tenant_id [int] = 1
attr_place_id [str] = “SIP_Server_Place3”
attr_agent_id [str] = “MCR_Agent0”
attr_donot_disturb [bool] = True
attr_media_state_list [bstr] = KVList:
attr_media_capacity_list [bstr] = KVList:

PID:14A8, TID:0010 [bdo.dll 1.0.0.2] reaction is removed
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ItxSrv:StatusForwarder()
PID:14A8, TID:000A [bdo.dll 1.0.0.2] StatSrv: isConnected(): True
PID:14A8, TID:000A [bdo.dll 1.0.0.2] StatSrv: ‘RequestInsertInteraction’ (‘17’)
message attributes:
InteractionAttributes =
EntityTypeId=EmailOut
Id=03717D2HGY2G8004
MediaTypeId=email
Status=Pending
Subject=e-mail subject by Ceritek
TenantId=1
TypeId=Outbound
SubtypeId=OutboundNew

EntityAttributes =
FromAddress=[email removed]
FromPersonal=Thierry Brémard
ReplyToAddress=[email removed]
ToAddresses=[email removed]

InteractionContent =
Content=System.Byte
MimeType=text/html
StructuredText=structured text this is bold in html in StructuredText field
italic
dumping InteractionContent:


Content=System.Byte
MimeType=text/html
StructuredText=structured text this is bold in html in StructuredText field
italic
dumping InteractionContent:
StructTextMimeType=text/html
Text=This is the e-mail body.

StructTextMimeType=text/html
Text=This is the e-mail body.

ReferenceId = 1

PID:14A8, TID:000A [bdo.dll 1.0.0.2] StatSrv: ‘EventInsertInteraction’ (‘117’)
message attributes:
InteractionId = 03717D2HGY2G8004
ReferenceId = 1

PID:14A8, TID:000A [bdo.dll 1.0.0.2] ISrvAccs.cs: Itx_PlaceInQueue(03717D2HGY2G8004, E-Mail Out, False)
PID:14A8, TID:000A [bdo.dll 1.0.0.2] ISrvAccs.cs: ‘RequestChangeProperties’ (‘103’)
message attributes:
attr_itx_id [str] = “03717D2HGY2G8004”
attr_added_prop [bstr] = KVList:
‘FromAddress’ [str] = “[email removed]”
‘To’ [str] = “[email removed]”
‘EmailAddress’ [str] = “[email removed]”
‘Subject’ [str] = “stark test”
‘DispositionCode.Key’ [str] = “DispositionCode”
‘DispositionCode.Label’ [str] = “Disposition Code”
‘DispositionCodeValues.Processed’ [str] = “Processed”
‘DispositionCodeValues.NeedsFollowUp’ [str] = “Needs Follow-Up”
‘ContactId’ [str] = “0001Ba5SW8PJ0027”
attr_ref_id [int] = 4

PID:14A8, TID:000A [bdo.dll 1.0.0.2] ISrvAccs.cs: ‘RequestPlaceInQueue’ (‘105’)
message attributes:
attr_itx_id [str] = “03717D2HGY2G8004”
attr_queue [str] = “E-Mail Out”
attr_ref_id [int] = 5

PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ISrvAccs.cs: EventForwarder
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ISrvAccs.cs: EventCurrentAgentStatus
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] interaction server: Callback_InteractionServer: ----------------->(‘EventCurrentAgentStatus’)<-----------
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] interaction server: ‘EventCurrentAgentStatus’ (‘155’)
message attributes:
attr_ref_id [int] = -1
AgentDescription = ComplexClass(AgentDescription):
attr_tenant_id [int] = 1
attr_place_id [str] = “SIP_Server_Place3”
attr_agent_id [str] = “MCR_Agent0”
attr_donot_disturb [bool] = True
attr_media_state_list [bstr] = KVList:
attr_media_capacity_list [bstr] = KVList:

PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ‘EventCurrentAgentStatus’ (‘155’)
message attributes:
attr_ref_id [int] = -1
AgentDescription = ComplexClass(AgentDescription):
attr_tenant_id [int] = 1
attr_place_id [str] = “SIP_Server_Place3”
attr_agent_id [str] = “MCR_Agent0”
attr_donot_disturb [bool] = True
attr_media_state_list [bstr] = KVList:
attr_media_capacity_list [bstr] = KVList:

PID:14A8, TID:0010 [bdo.dll 1.0.0.2] reaction is removed
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ItxSrv:StatusForwarder()
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ISrvAccs.cs: EventForwarder
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ISrvAccs.cs: EventAck
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] interaction server: Callback_InteractionServer: ----------------->(‘EventAck’)<-----------
PID:14A8, TID:0010 [bdo.dll 1.0.0.2] interaction server: ‘EventAck’ (‘125’)
message attributes:
attr_ref_id [int] = 5

PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ‘EventAck’ (‘125’)
message attributes:
attr_ref_id [int] = 5

PID:14A8, TID:0010 [bdo.dll 1.0.0.2] ItxSrv:StatusForwarder()

my mail client indicates the folowing message source once received:

Return-Path: [email removed] Received: from demosrv ([192.168.0.47]) by DEMOSRV ; Wed, 22 May 2013 10:06:34 +0300 Date: Wed, 22 May 2013 10:06:34 +0300 (EEST) From: =?utf-8?Q?Thierry_Br=C3=A9mard?= <[email removed]> Reply-To: [email removed] To: [email removed] Message-ID: <[email removed]> Subject: e-mail subject by Ceritek MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31_1949006958.1369206394220" X-Mailer: Genesys E-Mail 8.1.201.05

------=_Part_31_1949006958.1369206394220
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

This is the e-mail body.
------=_Part_31_1949006958.1369206394220
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

structured text this is bold in html in StructuredText field italic dumping InteractionContent:
Content=3DSystem.Byte[]
MimeType=3Dtext/html
StructuredText=3Dstructured text this is bold in html in Structure=
dText field 
italic
 dumping InteractionContent:=20
StructTextMimeType=3Dtext/html
Text=3DThis is the e-mail body.
------=_Part_31_1949006958.1369206394220--

this is functionnal but not optimized, some part of code must be cleaned, but at least it works.

Thierry Brémard
[email removed]

… my conclusion is that it takes more time to write all code to send mail than sending mail with the keyboard directly connected to smtp server !

I hope all interaction managing system has great value !