HANOZET
New User
Joined: 14 Sep 2006 Posts: 1
|
|
|
|
I try to use MIME to send a file from an IBM mainframe to a mail. My file has 133 characters and I don't know how to code exactly. When I transfer file with a length of 80 bytes, it works. For file with 160 characters I receive two lines in place of one.
Could you give me some explanations and how to correct this.
I am sorry but I don't speak very well english.
Many thanks in advance for your explanations.
sample of my procdeure
HELO HOST
MAIL FROM:<sender@xx.COM>
RCPT TO:<receipt@xxx.COM>
DATA
TO:<ttttT@yyy.COM>
SUBJECT: TEST
SUBJECT: MY SUBJECT
MIME-VERSION: 1.0
CONTENT-TYPE: MULTIPART/MIXED;
BOUNDARY="<< BOUNDARY_IDENTIFIER >>"
--<< BOUNDARY_IDENTIFIER >>
CONTENT-TYPE: TEXT/PLAIN; CHARSET="US-ASCII"
CONTENT-TRANSFER-ENCODING: 7BIT
HI,
THIS IS MY MESSAGE
--<< BOUNDARY_IDENTIFIER >>
CONTENT-TYPE: APPLICATION/OCTET-STREAM; NAME="GY_ADECCO.TXT"
/*
// DD DSN=MYFILE.EMAIL,DISP=(OLD,PASS) |
|