Genesys CTI User Forum > Genesys-related Development
Service 'Email' failed in method 'Send' (ErrorCode=701 ErrorMsg=Unexpected error
cavagnaro:
They won't help...they are support not Professional Services. They will never review your code, that is your job unless you hire someone from Genesys to do that job.
René:
tbremard,
Could you please check if you applications stores correctly email content (body) in UCS? Email Server fails in the createMimeMessage method because some variable is null...
R.
tbremard:
Hi René,
for me content is correctly stored in UCS , to verify i asked to get content today of my interaction:
[quote]
15:07:02.327 Dbg 09900 Reference 1 added to the message
'RequestGetInteractionContent' ('21')
message attributes:
InteractionId = 0370WE2HERXFJ00B
IncludeAttachments = True
IncludeBinaryContent = False
ReferenceId = 1
15:07:02.507 Dbg 09900 Sending message to OpenMedia.ExternalService[tcp://demosrv.genesyslab.com:4400/(Socket#612)]
'Request3rdServer' ('500')
message attributes:
Request [bstr] = KVList:
'Version' [str] = "1.0"
'AppName' [str] = ""
'AppType' [str] = "Contact Server"
'Service' [str] = "OMInteractions"
'Method' [str] = "GetInteractionContent"
'Parameters' [bstr] = KVList:
'InteractionId' [str] = "0370WE2HERXFJ00B"
'IncludeBinaryContent' [str] = "FALSE"
'IncludeAttachments' [str] = "TRUE"
ReferenceId [int] = 1
15:07:02.511 Dbg 09900 OpenMedia.ExternalService[tcp://demosrv.genesyslab.com:4400/(Socket#612)]: Waiting for response on message...
'RequestGetInteractionContent' ('21')
message attributes:
InteractionId = 0370WE2HERXFJ00B
IncludeAttachments = True
IncludeBinaryContent = False
ReferenceId = 1
15:07:02.512 Dbg 09900 248 bytes has been sent to Socket#612, remained: 0 bytes
15:07:02.571 Dbg 09900 590 bytes has been received on Socket#612
15:07:02.574 Dbg 09900 New message #501
15:07:02.628 Dbg 09900 Completed handling OpenMedia.ExternalService[tcp://demosrv.genesyslab.com:4400/(Socket#612)] message...
'Event3rdServerResponse' ('501')
message attributes:
Request [bstr] = KVList:
'Service' [str] = "OMInteractions"
'Method' [str] = "GetInteractionContent"
'Parameters' [bstr] = KVList:
'InteractionContent' [bstr] = KVList:
'Text' [str] = "This is the e-mail body."
'InteractionAttributes' [bstr] = KVList:
'ThreadId' [str] = "000DDa8Q9WJA001Y"
'EntityTypeId' [int] = 1
'CanBeParent' [str] = "true"
'TenantId' [int] = 1
'StartDate' [str] = "2013-04-24T06:31:33.263Z"
'TypeId' [str] = "Outbound"
'CreatorAppId' [int] = 161
'MediaTypeId' [str] = "email"
'Subject' [str] = "STARK Sample e-mail subject"
'Status' [int] = 1
'Id' [str] = "0370WE2HERXFJ00B"
'Attachments' [bstr] = KVList:
'EntityAttributes' [bstr] = KVList:
'ToAddresses' [str] = "jones@demosrv.genesyslab.com"
'FromAddress' [str] = "account@premier.com"
UserData [bstr] = KVList:
ReferenceId [int] = 1
15:07:02.744 Dbg 09900 OpenMedia.ExternalService[tcp://demosrv.genesyslab.com:4400/(Socket#612)]: Response is received.
'EventGetInteractionContent' ('121')
message attributes:
InteractionContent =
Text=This is the e-mail body.
InteractionAttributes =
CanBeParent=True
CreatorAppId=161
EntityTypeId=EmailOut
Id=0370WE2HERXFJ00B
MediaTypeId=email
StartDate=24/04/2013 06:31:33
Status=Pending
Subject=STARK Sample e-mail subject
TenantId=1
TypeId=Outbound
ThreadId=000DDa8Q9WJA001Y
EntityAttributes =
FromAddress=account@premier.com
ToAddresses=jones@demosrv.genesyslab.com
ReferenceId = 1
15:07:02.745 Dbg 09900 -------------------Current State-------------------
15:07:02.745 Dbg 09900 ChannelState:Opened, ConnectionState:Opened
15:07:02.746 Dbg 09900 SocketID=612, Connected=True, AddressFamily=InterNetwork
15:07:02.746 Dbg 09900 Socket#612 having 0 bytes for send
15:07:02.747 Dbg 09900 ---------------------------------------------------
15:07:02.748 Dbg 09900 PID:1904, TID:0009 [bdo.dll 1.0.0.2] StatSrv: 'RequestGetInteractionContent' ('21')
message attributes:
InteractionId = 0370WE2HERXFJ00B
IncludeAttachments = True
IncludeBinaryContent = False
ReferenceId = 1
15:07:02.760 Trc 09900 PID:1904, TID:0009 [bdo.dll 1.0.0.2] StatSrv: I AM PARENT !
15:07:02.763 Dbg 09900 PID:1904, TID:0009 [bdo.dll 1.0.0.2] StatSrv: 'EventGetInteractionContent' ('121')
message attributes:
InteractionContent =
Text=This is the e-mail body.
InteractionAttributes =
CanBeParent=True
CreatorAppId=161
EntityTypeId=EmailOut
Id=0370WE2HERXFJ00B
MediaTypeId=email
StartDate=24/04/2013 06:31:33
Status=Pending
Subject=STARK Sample e-mail subject
TenantId=1
TypeId=Outbound
ThreadId=000DDa8Q9WJA001Y
EntityAttributes =
FromAddress=account@premier.com
ToAddresses=jones@demosrv.genesyslab.com
ReferenceId = 1
[/quote]
Genesys support didn't provided any usefull help, they only managed to ask me the email server version i use ( which is mentionned in the logs I gave them)
Kubig:
Are you using IWS, GAD or some other own agents application?
cavagnaro:
He is developing something Kubig.
As told you, Genesys Support will never review source code.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version