B2B Integration 10.2 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Route Folder | Summary of Elements in this Folder | wm.tn.route:alert
 
wm.tn.route:alert
Send an alert email message.
Input Parameters
bizdoc
Object (optional) The document this email message pertains to (if any). The document must be an instance of com.wm.app.tn.doc.BizDocEnvelope
InternalPartnerId
String Identifies to whom TN is to send the email message. This is either the internal identifier for a partner in your network or the value B2B to indicate the email message is being sent to the webMethods administrator.
partnerContact
String (optional) The contact at the partner's corporation who is to receive the email message (for example, “Administrative”). If the recipient of this email message is the webMethods administrator, leave this variable empty.
subject
String The subject of the email message.
body
String The body of the email message.
Output Parameters
sent
String Identifies the status of the delivered email message. Valid values are:
*true The email message was sent successfully.
*false The email message was not sent successfully.
sendError
Document A description of the error that prevented the email message from being sent (see wm.tn.rec:ActivityLogEntry). If you are invoking this service from a Java program, this is an instance of com.wm.app.tn.error.ActivityLogEntry.
Usage Notes
The Integration Server must have an SMTP server defined to delivery email messages.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.