Saritha,
I know you ask this question to RMG, so if you and RMG don’t mind - may I try? Use pub.string:stringToBytes to convert the xml string to bytes, then map the bytes to the attachments/content of the pub.client:smtp service. Besides this you will need to set other parameters as applicable, eg to, cc, from, subject, mailhost, mailhostPort, etc. Also, in answer to your earlier question about the content type and filename refer to: [url=“wmusers.com”]wmusers.com
Rohit
#B2B-Integration#Integration-Server-and-ESB#webMethods