On Tue, 14 Apr 2009 16:59:37 -0500, Hal Merritt wrote:
>I may be wrong, but I think it is up to the receiving email engine to open
>attachments in line or not. At least I am aware of that option and have
>fiddled with it from time to time on various email engines.
>
>We use the facility extensively to send reports.
>
>From MS Outlook Help: "If the message format is Rich Text Format (RTF),
>attachments will appear in the body of the message. Even though the file
>appears to be embedded in the message, it is actually still a separate
>attachment."
>
>Just gotta love MS products automatically opening attachments, perhaps 'the'
>most popular attack vector.
>
Yah, but if someone wants to put a graphic letterhead/foot
on his message, he'd prefer that you not need to open it
with an external viewer.
>From RFC 2183 (Updates: 1806):
In the extended BNF notation of [RFC 822], the Content-Disposition
header field is defined as follows:
disposition := "Content-Disposition" ":"
disposition-type
*(";" disposition-parm)
disposition-type := "inline"
/ "attachment"
/ extension-token
; values are not case-sensitive
disposition-parm := filename-parm
/ creation-date-parm
/ modification-date-parm
/ read-date-parm
/ size-parm
/ parameter
...
>-----Original Message-----
>From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of
>Mark Steely
>Sent: Tuesday, April 14, 2009 4:45 PM
>
>We are z/os V1R9. I am having a problem when I send a e-mail with an
>attachment through batch. When IBM receives the email the attachment is
>showing up in the body of the email and not a separate attachment. We
>have a proc which wraps the required stuff around the parms supplied for
>an e-mail (from, to, attachment, body, CC, etc....). This output is
>pickup by SMTP and sent to our email server to be sent. This process
>works as design internally and haven't heard any problems on externally
>transmitted email using this process except for the email I send to IBM
>to process the SCRT (sub capacity reporting tool) data.
>
>Does anyone have a process that performs a batch e-mail process which
>they use to send this type of report to IBM.
>
Look at your raw message source. What Content-disposition:
do you have? I don't know the default. Read the RFCs.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html