Will and Ray
I have a way to so-call customise the TN build-in delivery methods, including email. But I am highly not recommanded unless of couse you are desperated. What I did is
- rename the wm.tn.transport:secondarySmtp (For Secondary Email) to wm.tn.transport:secondarySmtpTN
- create a new service call wm.tn.transport:secondarySmtp
- modify required fields (email title, address, attach filename)
- invoke wm.tn.transport:secondarySmtpTN in wm.tn.transport:secondarySmtp
For Step 3, you might need some work to determine what variables original wm.tn.transport:secondarySmtp takes in (eg.saveToPipleline).
Here you go. dangerous and unconventional. To avoid the depolyment problem, i suggest you create another package with same namespace wm.tn.transport, in case your service been overwrite by the standard one.
#B2B-Integration#webMethods#Integration-Server-and-ESB