sorry the attachment is stripped. email me directly if you want the
source.
Walter Scanlan
Senior Software Engineer
WPLC products for System i
507-286-6088
Cell: 507-990-4539
wscanlan@xxxxxxxxxx
Walter Scanlan/Rochester/IBM@IBMUS
Sent by: domino400-bounces+wscanlan=us.ibm.com@xxxxxxxxxxxx
05/14/2007 02:08 PM
Please respond to
Lotus Domino on the iSeries / AS400 <domino400@xxxxxxxxxxxx>
To
Lotus Domino on the iSeries / AS400 <domino400@xxxxxxxxxxxx>
cc
domino400-bounces+wscanlan=us.ibm.com@xxxxxxxxxxxx, domino400@xxxxxxxxxxxx
Subject
Re: Integrating Domino into a home-grown iSeries app
Here is an old sample I wrote......It uses the notes C api. So that option
must be installed.
Three files are included:
1. The program.
2. The source file
3. The make file.
To restore this to an iSeries you must:
1. Create a save file called sendmail
2. FTP the attached file to the save file.
RSTOBJ OBJ(*ALL)
SAVLIB(QNTCSDK)
DEV(*SAVF)
SAVF(SENDMAIL)
The sendmail program requires the RUNDOMCMD Utility. This utility is
available at:
http://www-1.ibm.com/servers/eserver/iseries/domino/devtools/rundomcmd/rundomcmd.htm
Once RUNDOMCMD is installed, you must add the following to the production
server's Notes.ini:
MAILFILE=mail/mymail.nsf
where mymail.nsf is a valid mail file.
From a 5250 emulation session you may now run the command.
RUNDOMCMD/RUNDOMCMD SERVER(servername)
CMD(CALL PGM(QNTCSDK/SENDMAIL))
BATCH(*NO)
where servername is the name of the Domino server on the iSeries.
The user will be prompted for the following information:
TO field
CC field
Subject field
BODY field
Note: This sample does not include the ability to attach objects to the
memo.
Walter Scanlan
Senior Software Engineer
WPLC products for System i
507-286-6088
Cell: 507-990-4539
wscanlan@xxxxxxxxxx
"Patrick Trapp" <ptrapp@xxxxxxxxxxxx>
Sent by: domino400-bounces+wscanlan=us.ibm.com@xxxxxxxxxxxx
05/14/2007 02:01 PM
Please respond to
Lotus Domino on the iSeries / AS400 <domino400@xxxxxxxxxxxx>
To
domino400@xxxxxxxxxxxx
cc
Subject
Integrating Domino into a home-grown iSeries app
We have a developer in a different branch of the company that is making
his initial foray into generating e-mail automatically from his
applications. His initial attempts have been successful, if limited,
using SNADS. However, one of his customers has a Domino server on their
iSeries and he's seeking information on interfacing his application with
their Domino server.
He's asked me because I'm the "resident expert" on e-mail in general and
because we have a Domino server on the iSeries. I have a vague
recollection of documentation about how to use the Domino SMTP engine from
an iSeries application, but it's been a long time since I did any
significant development and I'm drawing a blank. The error that he's
getting when he attempts this is CPFAF98, indicating that program QTMSFWD
detected a condition and ended processing on the message until the next
time STRMSF is run.
I'm expecting that there's documentation out for this sort of thing, so if
you can point me toward where, I'd greatly appreciate the push.
Thanks in advance,
Patrick
As an Amazon Associate we earn from qualifying purchases.