> Unfortunately you have to delete one unwanted sentence
> which will be added by the MIME encapsulation process.
Just wondering: what happens if you give it an a MIME-file with a
proper MIME-header? Example, save the 8 lines in a file, remove the 8
*'s and use your MR/2 ICE-method:
*Content-Type: application/octet-stream; name="Question.TXT"
*Content-Description: MIME MIME'd twice?
It may MIME the MIME (raw). Or it may recognize the MIME-headers and
use it as-is (cooked), i.e. not adding an extra sentence. But I think
it should re-MIME the MIME (/ordinary textfile) with the added
sentence, which isn't wrong.
I'm not sure if some preprocessor has any use otherwise, if the above
doesn't work. E.g. argument checking or file size checking (IF
Stream(mimefile,'C','QUERY SIZE')>5000000 THEN DO;SAY "Too large, will
be rejected by ISP or the office's e-mail server";EXIT;END). But hey,
it's just a sentence.
> could write a REXX program to create such objects from
> a list of addresses.
Again, in this thread: why not? And release it. Getting the
SysCreateObject()-setupstring right seems to be the hard part now,
given what you already figured out.
Two new remarks, Rich Walch mentioned the WPS earlier. I think a
must-have are translated messages, same use of the language as the OS
itself does. Eighter already included (Select a language from the list
of available eCS-languages), or ask for a DIY-replament text with a
default WPS text. E.g.:
/* Get the word for a "keyboard", ugly-mode */
SAY 'Enter the name of the device, as used in the'
SAY 'context "I just spilled coffee on my ...", or press'
SAY 'ENTER to use the default:' text
CALL CharOut '','Your preferred name of this device is? '
PARSE PULL new
IF new<>'' THEN text=new
SAY 'You just spilled coffee on your' text||'.'
Nice-to-have, but not that important: easy way to (initially) edit the
associations. I don't have a clue which files you're likely to e-mail,
and which files you'll never want to e-mail.
> To give these I use normal WPS parameters with double quotes
> around them to handle blanks in file names properly.
Perfect, supporting HPFS e.a. (and also allowing for arguments after