Attach file in post process email

Discussion created by TimothyYanosko604352 on Sep 26, 2014
Latest reply on Sep 30, 2014 by Jennifer_Jinhong_34
  Below is the code I've created but cannot seem to get to work.  The userid running the job does have access to the $hare.

  A fresh set of eyes looking at this will be appreciated.
:SET &sourcefile = "\\Astdc-omsbat20d\c$\UC4-EMAIL.txt"
:SET &out# = SEND_MAIL("***@***.com",,"Test with attachment","Email Test",&sourcefile)

The post process report is showing this error message.
U0020408 Email sent return code with attachment: 0000000000050014

Thanks everyone.