[Info-vax] SFF and MIME

Tom mcwilliamt at aforbes.co.za
Thu Dec 10 10:49:59 EST 2009


Greetings everyone,
            I am wanting to send SMTP mail from OpenVMS V7.3-2 using
TCP/IP Services V5.4. Up front I must say that I want to be able to
send a Subject line, a text Message Body AS WELL AS an HTML file
attachment.
            I have followed the relevant thread on HP OpenVMS Ask the
Wizard where the use of MIME and SFF is recommended and I have managed
to achieve the two requirements, but not simultaneously.
1.	If I use MAIL to send the MIME created file it sends through the
attachment correctly.
$ MAIL /SUBJECT="Test email"/PERSONAL_NAME="System_Messaging"
CPSPDR:TOM.MIME @esrc:tom.recip
2.	If I use SFF to send an RFC 822 compliant file, it formats the mail
exactly as I expect it to.

$ sff  cpspdr:TEST_SMTP_SFF.TXT

MAIL FROM:<mcwilliamt at aforbes.co.za>
RCPT TO:<mcwilliamt at aforbes.co.za>
DATA
Date: Sun, 4 Aug 1996 14:48:14 -0400
Message-Id: <96080414481500 at compaq.com>
From: mcwilliamt at aforbes.co.za (Alexander Forbes)
To: mcwilliamt at aforbes.co.za
Subject: Test of SFF
mechanism

Dearly beloved we are gathered here today....
Blah, Blah, fish paste, stick and throttle....
3.	However, when I build the RFC 822 compliance around the MIME file
(by inserting the contents of the MIME file after the DATA command), I
receive the mail with the HTML file attached but everything from Date:
Sun, 4 Aug 1996 14:48:14 -0400 onwards is ignored!

Can anyone perhaps point me in the right direction? Any suggestions
would be greatly appreciated.




More information about the Info-vax mailing list