Not able to send spool file as an email attachment on UC4 9

Discussion created by ShashankSingh606566 on Mar 27, 2017
Latest reply on Mar 28, 2017 by ShashankSingh606566

We are using UC4 version 9. Need to send spool file as an attachment via email.
I have used SEND_MAIL function but unable to get the file as an attachment.
The job does not fail but the email is also not sent. If we remove the attachment part in SEND_MAIL, we receive the email.

Any particular reasons for this behavior?