Have you tried SNDEMAIL - a free utility which I wrote and published in the Sept. 1998 issue of News/400? It allows sending simply a message (as well as attachments). I have an updated version which allows you to send messages up to 2048 characters long but can easily be changed to allow up to 9999 (by simply changing a few declares). Beyond 9999 would take a bit more work but not a lot. (9999 is the max that CL allows for a character variable.)
From: Dave Murvin [mailto:email@example.com]
Sent: Monday, January 22, 2001 10:24 PM
Subject: E-mail from AS/400
I am working on a project to add e-mail features to existing AS/400 green
screen applications - Order acknowledgements, order status, etc. to
external customers. The client is already using SpoolMail product to
e-mail spool files to internal employees in PDF format.
I have been trying to send hard coded test messages to myself using the
SNDDST command and the SpoolMail commands, but so far, everything ends up
as an attachment. The request is for standard e-mail, not attachments. I
haven't tried the Long Message option in SNDDST yet, but only 5000
characters may not always be enough. I tried to send an HTML message as a
*FILE, and it ended up as an attachment with a non-standard file suffix
(.AT or something like this) so windows had to ask what to open it with.
The existing SpoolMail e-mails are sent to an internal mail router. I
would like to send the AS/400 e-mails directly to the Internet. I would
also need the ability to identify any rejected messages.
I have looked at a few articles and some of the manuals, but nothing seems
to fit the desired results so far.
Am I on the right track? What are you folks using? Another package, home
grown HTML, or ???
DRM Enterprises, Inc.
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: firstname.lastname@example.org