When I deliver a flat file by email via TN, it sets the sender as tn@webmethods.com and the file name is ATTXXXXX.dat with no subject line. Is there any way to configure this? Is the workaround to just email within the flow services instead of using the built-in delivery service?
Thanks Ray - doesn’t look like this is available anymore in 6.1 but I found the properties to edit in 2 of the TN config files. It’d be nice to edit this per rule though for specific subjects and filenames…
Of course I can Surya. I’m trying to use TN where I can submit a doc to TN and have it email based on a company’s profile. This way the doc is in TN for audit purposes and triggers the email. Using smtp means I have to do more work myself in a flow service which is not as slick, but I guess it would give me more control over the subject line/filename.
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
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.