I am trying to send an xml as an attachment to my own email id,
i am invoking the following services
filename(what should i specify here) if i dunot specify this its saying file not specified
Regarding mailhost can i mention any one of these (where xyz is my company mailhost name)
I think you have something set/specified within the attachments list(documentList) and its looking for the fileName to be sent as attachment. AttachmentsList and fileName are optional.
You can use any mail host name style as long it is valid/resolvable.
pub.file.getFile(Input(sample.xml) loadas Bytes
map Body/bytes to attachements/content , contenttype as text/xml and filename as sample.xml
It will send xml file as attachement
Under Attachments input map the content object(with bytes)and set the filename(any thing you specify).
Thanks guys its working fine when i made a mapping change from body/content,
(Learn From leaders)