Iranell,
fyi…
With using pub.client:smtp service it cannot not pickup the physical file from the filesystem basically you have to map to its param attachment/Content and the param you set the attachment/filename(for example:sample.csv) will be assigned to the attachment/Content(bytes) that you are mapping above.Then in the email attachment you will get attachment named sample.csv file.
You got to have the file in the pipeline,so load the file and then send it as attachment.Try this flow:
pub.file:getFile (loadAs bytes or stream to compress)
pub.client:smtp (map bytes or stream to attachment/Content,set content-type= application/x-wmflatfile or application/vnd.ms-excel)
Test the above flow.
HTH,
RMG
#webmethods-Protocol-and-Transport#Integration-Server-and-ESB#webMethods