View previous topic :: View next topic
|
Author |
Message |
t1nt1n
New User
Joined: 08 Jul 2005 Posts: 31
|
|
|
|
Hello
i try to send a report file (dataset) as attachment to a email ID. But when i execute i get the contents as the body of the mail and not as an attachment.could you help me to resolve the same. the parameter that i used is like below
helo MVSHost
mail from:<abc@xyz.com>
Rcpt to:<bcd@xyz.com>
data
from:<abc@xyz.com>
to:<bcd@xyz.com>
Subject: Test Mail with attachemnts
MIME-version: 1.0
Content-type: multipart/mixed; boundary="boundry1"
--boundry1
Content-type: text/plain; Charset=us-ascii
Content-transfer-encoding: 7bit
Hello
attached is your report file
--boundry1
Content-type: application/octet-stream;
Content-disposition:attachment;filename="report11.txt"
/*
// DD DISP=SHR,DSN=dataset name
//* |
|
Back to top |
|
|
Rajen
New User
Joined: 05 May 2005 Posts: 61
|
|
|
|
Hi t1nt1n,
Can you please post your Email control card here.
Thanks,
Rajen |
|
Back to top |
|
|
|