email receive: See ISAdministratorGuide.pdf
Go to Admin webPage > Security > Ports > Add Port
* select webMethods/Email
* select default package to receive emails (or leave default WmRoot)
* enter email account info in Server Information section
* enter name of Default service eg: MyFolder:MyService
* email will arrive in pipeline as an object called “contentStream”
* use createMimeData to convert to IData object
- flow example
pub.mime.createMimeData (map contentStream to input)
pub.mime.getBodyPartContent (part 0 = header, 1 = attachment)
pub.io.streamToBytes
pub.string.bytesToString
pub.flow.savePipelineToFile
etc…
* See services in WmSamples mime for attachment handling
#Adapters-and-E-Standards#Integration-Server-and-ESB#webMethods