As incredible as it may seem IBM has not provided a decent way to send
an e-mail message with a MIME attachment on the V3R2 systems. The
support is pretty weak on V4R2, but almost non-existent on V3R2. On the
RISC systems you can use the QtmmSendMail API for outbound MIME
attachments. But you need to do your own formatting of the SMTP/MIME
message (headers, boundaries, data, etc.).
The one thing you might try is copying the file to a document in DCA/FFT
format using an extension like ".txt" on the document name. Then send it
with the SNDDST command using *DOC as the type. You don't have much
ability to associate a message with the attachment, but I've gotten this
to work in the past.
HTH,
Patrick
--
Patrick Townsend mailto:town...@patownsend.com
Patrick Townsend & Associates, Inc. http://www.patownsend.com
SNDDST TYPE(*DOC) TOUSRID((INT0043 INTERNET)) DSTD(SUBJECT GOES HERE)
MSG(Body of message goes here') DOC(FILEA.TXT) FLR('corbo/upload')
Its primitive, but it does work.
Need more info, email me
tapeon wrote in message <6ntjsi$j00$1...@nw003t.infi.net>...
And by preceding the SNDDST with a CPYTOPCD command, the DB file can be put
into a 'document' easily.
Tom Liotta
In article <89991470...@hercules.carroll.com>,
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
Also, by enabling 'context switching' for e-mail, you can drop the
TOUSRID((INT0043 INTERNET)) format and specify the actual SMTP address.
Mike
tho...@inorbit.com wrote in message <6o1bdt$6i9$1...@nnrp1.dejanews.com>...
Once activated, you can use the TOINTNET() parameter of SNDDST to hold an
SMTP address when sending just about anything except *MSGs. Of course, if you
send something like a .sig in a text file, you can still use the MSG()
parameter for the "message". Use TOINTNET() in place of TOUSRID(). A fairly
simple CL and command shell gives easy ways to SNDDBFSMTP (Send Database File
with SMTP) or even SNDSPLSMTP (Send Spoolfile with SMTP).
Check out the TOINTNET() parameter by prompting SNDDST and pressing <F9> to
view all parameters.
Tom Liotta
In article <89998322...@hercules.carroll.com>,