> The "filename=" does not seem to be documented anywhere that I can
> find - but it does work!

It is actually part of the MIME specification, not an IMail command, which is probably 
why IMail doesn't mention it in the docs (although I think they ought to!).

FYI, here is the text of an an attachment as it comes through the mail stream, before 
it is MIME-decoded (I've changed "-"'s to "*"'s, and "."'s to "-"'s, to bypass some of 
the filters out there):

------_=_NextPart_000_01BFB5D4.16D23860
Content-Type: application/octet-stream;
        name="LOVE*LETTER*FOR*YOU-TXT-vbs"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
        filename="LOVE*LETTER*FOR*YOU-TXT-vbs"

[In this case, the script would appear here unencoded, as the 
Content-Transfer-Encoding is 'quoted-printable']

                             -Scott
Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

Reply via email to