For setting priority of High you need to use mime services to accomplish
pub.mime:createMimeData
pub.mime:addMimeHeader (set inputs under mimeHeader/X-Priority) and map priority (setValue to 1) or X‐Severity =10 etc…
pub.mime:addBodyPart
pub.mime:getEnvelopeStream
pub.client:smtp (map the envStream to mimeStream)
pub.io:closeStream
Please review the documentation also and test the above logic:
Also view this thread:
[url]wmusers.com
HTH,
RMG
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services