wm.tn.transport:primarySmtp
Delivers documents through SMTP. This service uses the delivery method information that is associated with the primary email delivery method from the receiving partner's profile to determine the email address to use to deliver the document.
Input Parameters
bizdoc | Document The document you want to deliver. If invoking from a Java program, the document must be an instance of com.wm.app.tn.doc.BizDocEnvelope. Otherwise, the structure of bizdoc is defined by
wm.tn.rec:BizDocEnvelope. |
retriesRemaining | String The number of retries remaining. The delivery engine passes this information into this server at every attempt of job delivery. |
Output Parameters
serviceOutput | status String The outcome of the delivery: success or fail. statusMessage String The status message from the last attempt to deliver the document. For example, the status message might be Mail was sent successfully. transportTime String Total time (in milliseconds) it took to deliver the document. |
Usage Notes
The service throws an exception if the receiver identified to receive the document in bizdoc is a local partner. And the local partner is a host of the network.