You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Batch program to send mail with attachment of report output

No replies
Guest's picture

Hi All,
I am working on a requirement where i need to send mail to user(EMPLID) with the attachment of the report output generated.
To be more precise:
- XML publisher is generating a pdf report output.
- Now i have send the output pdf file as attachment.

To achive this i am using send mail() and printoutput() function. But the report output is not getting posted in the URL i have defined as destination folder.
I would appreciate for anyone help or sample code

Thanks in Advance !!