|
I think a description of what I'm trying to do would help.
I have a batch process that creates a spooled file, which is converted into
a pdf file (stored in the IFS). This pdf file needs to be sent, as an
attachment, to an e-mail address. This whole process needs to be able to
work on any and all iSeries (from v5r3 and up) without having to do any mail
server setup or modification to any configuration. The e-mail destination
is NOT a user found on the iSeries.
So, it seemed that using JavaMail wrapped in RPG would allow me to avoid use
of SNDDST (which has user profile and configuration problems for me), and
MIGHT allow me to use a mail server reference of my choice (as it appears
that setting the mail server name is all I need). If the SMTP server was
configured on the iSeries the process finds itself running on, then it could
use IT. If the iSeries is NOT configured as a mail server (or the SMTP
server was not active), the JavaMail properties might allow me to use
another server (like YAHOO.COM?), as long as the iSeries could talk to the
world over TCP/IP.
I know I may be dreaming here, but it sure seems like there should be a way
to do what I need to do.
If I've been smoking the wrong kind of tobacco here, let me know.
Tom Garvey
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.