I am attempting to email a file from the IFS using SNDSMTPEMM. This file type is xlsx and/or xlsx (I tried both and it corrupts both).
Here are the options I am specifying for SNDSMTPEMM:
When I receive the email with the attachment, I receive several others that "appear" to be MIME content in the email. When I attempt to open the attachment (an xls file), Excel states that it is corrupted. I then proceed to download the xls file from the IFS manually and I can open it just fine (so I know the xls file is not already corrupted, it has something to do with SNDSMTPEMM).
Has anyone had any experience with this?
FYI, I did some research and found a post about changing CHGPOPA MSGSPLIT(*NOMAX). I tested this as well and it doesn't work. I guess I'll start working through various combination of options to see if I can find one that works. I was hoping someone may have found the solution already. ;-)
Here are the options I am specifying for SNDSMTPEMM:
Code:
SNDSMTPEMM RCP((MY@EMAIL.COM)) SUBJECT('test report') NOTE('test report') ATTACH(('/Sales File.xls' *EXCEL *BIN)) CHARSET(*UTF8 *DFT) CONTENT(*PLAIN) SMIME(*NONE)
Has anyone had any experience with this?
FYI, I did some research and found a post about changing CHGPOPA MSGSPLIT(*NOMAX). I tested this as well and it doesn't work. I guess I'll start working through various combination of options to see if I can find one that works. I was hoping someone may have found the solution already. ;-)
Comment