I have the IS picking up mail out of lotus notes inbox and sending it to an IS service but the IS service is erroring out… see below:
2009-01-29 11:45:30 PST [ISP.0068.0026D] Content type: multipart/alternative;
boundary=“=alternative 006c83578825754d=” Subject: bpm.mailToIS:completeTask
2009-01-29 11:45:32 PST [ISP.0068.0025D] No content handler for content type text/html. Service bpm.mailToIS:completeTask called without content handler.
2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service bpm.mailToIS:completeTask
2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service pub.flow:tracePipeline
2009-01-29 11:45:32 PST [ISP.0090.0001C] — START tracePipeline [1/29/09 11:45 AM] —
2009-01-29 11:45:32 PST [ISP.0090.0008C] 0 contentStream {java.io.ByteArrayInputStream} = ‘java.io.ByteArrayInputStream@60f572’
2009-01-29 11:45:32 PST [ISP.0090.0008C] 0 testbody = null
2009-01-29 11:45:32 PST [ISP.0090.0002C] — END tracePipeline —
2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service pub.mime:createMimeData
2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service pub.flow:debugLog
2009-01-29 11:45:32 PST [ISP.0090.0003C] null
2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service pub.mime:getNumParts
2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service pub.mime:getBodyPartContent
2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service PSUtilities.stream:streamToString
2009-01-29 11:45:32 PST [ISS.0014.0016T] Invoking service pub.flow:debugLog
2009-01-29 11:45:32 PST [ISP.0090.0003C] testbody
It says body is null and no subject line - and “No Content Handler for conet type text/html”
how did you configured your email port, check this part:
Invoke service for each part of multipart message No
Include email headers when passing message to content handler Yes
It seems like you’re receiving HTML formatted email with only one content part? Try calling PSUtilities:streamToString with the input contentStream to make sure.
Yes - it looks like when I had “Email body contains URL encoded input parameters” set to “No” it would send two messages - one html encoded and another text endcoded so setting the value to “Yes” gives me one message which looks like html endcoded - this is the result w/o an attachment:
2009-02-05 08:35:04 PST [ISP.0068.0026D] Content type: multipart/alternative;
boundary=“=alternative 005b161388257554=” Subject: bpm.mailToIS:testEmail
2009-02-05 08:35:07 PST [ISP.0068.0025D] No content handler for content type text/html. Service bpm.mailToIS:testEmail called without content handler.
2009-02-05 08:35:07 PST [ISS.0014.0016T] Invoking service bpm.mailToIS:testEmail
2009-02-05 08:35:07 PST [ISC.0049.0005D] Invoke : index=1 depth=1
2009-02-05 08:35:07 PST [ISS.0014.0016T] Invoking service PSUtilities.stream:streamToString
2009-02-05 08:35:07 PST [ISC.0049.0005D] Invoke : index=1 depth=1
2009-02-05 08:35:07 PST [ISS.0014.0016T] Invoking service pub.flow:debugLog
2009-02-05 08:35:07 PST [ISP.0090.0003C]
testbody
2009-02-05 08:35:07 PST [ISS.0013.0002D] Registering multipart coder multipart/mixed;
boundary=“----=_Part_12_21912271.1233851707388” for service {1}.
2009-02-05 08:35:07 PST [ISP.0068.0004T] Processed 1 new message(s)
but with an attachment - it seem to fail to launch and this is all i get:
2009-02-05 08:37:49 PST [ISP.0068.0026D] Content type: multipart/mixed; boundary=“=mixed 005b583888257554=” Subject: bpm.mailToIS:testEmail