• Subject: Re: Generating email from RPG IV
  • From: "Al Hernandez" <orion_xyz@xxxxxxxxxxx>
  • Date: Wed, 02 May 2001 12:33:06 -0000

This is what I use. Not RPG but you can easily change or call.


SNDDST     TYPE(*LMSG) TOUSRID((TECHSPT AS01)) +
              DSTD('Authority Failures Message') +
              LONGMSG(&PAGEMSG) SUBJECT(&Sysname +
              *BCAT 'Authority Failures -' +
              *BCAT &CHROUT)

TECHSPT AS01 is a distribution list with SMTP id and domain. In my case it 
goes to Lotus Notes. I hope it helps. Al




>From: sjones@hpproducts.net
>Reply-To: DOMINO400@midrange.com
>To: DOMINO400@midrange.com
>Subject: Re: Generating email from RPG IV
>Date: Tue, 1 May 2001 13:03:38 -0400
>
>
>We are doing exactly what Walter wrote in that article, due to a
>third-party package that allows us to email AS/400 reports.  It has been
>working great.
>
>Steve Jones
>
>
>
>                     rob@dekko.com
>                     Sent by:                  To:     
>DOMINO400@midrange.com
>                     owner-domino400@mi        cc:
>                     drange.com                Fax to:
>                                               Subject:     Re: Generating 
>email from RPG IV
>
>                     05/01/01 12:24 PM
>                     Please respond to
>                     DOMINO400
>
>
>
>
>
>
>Wow!  And that article was written by Walter Scanlan!  He is an EXCELLENT
>source on Domino and 400.  That's good news.
>
>I also verified this information at:
>http://www-1.ibm.com/servers/eserver/iseries/domino/r5smtp/config.htm
>
>Are there differences for V5R1?
>
>Rob Berendt
>
>==================
>Remember the Cole!
>
>
>
>                     "Jeffrey
>
>                     Silberberg"               To:
><DOMINO400@midrange.com>
>                     <jsilberberg@minds        cc:
>
>                     pring.com>                Subject:     Re: Generating
>email from RPG IV
>                     Sent by:
>
>                     owner-domino400@mi
>
>                     drange.com
>
>
>
>                     05/01/01 08:56 AM
>
>                     Please respond to
>
>                     DOMINO400
>
>
>
>
>
>
>
>Rob,
>
>        The restriction of a single SMTP server was lifted a little while
>ago,
>see the artice
>http://www.the400resource.com/content/monthly/200101/tips1-01.html
>for more details.
>
>         JMS..
>
>----- Original Message -----
>From: <rob@dekko.com>
>To: <DOMINO400@midrange.com>
>Sent: Tuesday, May 01, 2001 9:24 AM
>Subject: Re: Generating email from RPG IV
>
>
> >
> > Depends.
> >
> > I am sure there are a couple of ways of doing this.
> >
> > One way, has some restrictions.  The restriction is that it will not 
>work
> > on a 400 using native Domino SMTP, you know, not using the 400.  If you
> > configured your server using
> > SMTP services  . . . . . . . . .   *DOMINO       *SAME, *DOMINO, *MSF
> > Then you are hosed.  However if used *MSF then you're ok.  (The *DOMINO
> > method will give you far better performance for a 400 with a lot of
> > internet mail.)
> > So in summary I use this method on all of our 400's except two.
> > http://archive.midrange.com/rpg400-l/200103/msg00080.html
> >
> > David Leland wrote a dandy little utility program called SNDEMAIL.  He
> > originally published the article in NEWS/400.  I know you can download
>the
> > code from there.  (Providing you have a membership).  He might send it 
>to
> > you.
> > mailto:dleland@Harter.com
> > http://archive.midrange.com/rpg400-l/200010/msg00095.html
> >
> > For some simple crude testing there is the SNDDST command.  Again, no
> > *DOMINO.
> >
> > If you are using the *DOMINO, then perhaps there is a Domino API you can
> > call which will help you out.  I tried some scanning but couldn't find
>any
> > documentation listing the API's available.
> >
> > Rob Berendt
> >
> > ==================
> > Remember the Cole!
> >
> >
> >
> >                     sjones@hpproducts.
> >                     net                       To:
>domino400@midrange.com
> >                     Sent by:                  cc:
> >                     owner-domino400@mi        Subject:     Generating
>email from RPG IV
> >                     drange.com
> >
> >
> >                     05/01/01 07:23 AM
> >                     Please respond to
> >                     DOMINO400
> >
> >
> >
> >
> >
> >
> > Does someone have an example of emailing some information from a RPG IV
> > program?  What I would like to do is send an email that contains an item
> > number and some text.  The text will be the same each time, but the item
> > number would be different.
> >
> > Thanks in advance.
> >
> >
> > Steve Jones
> >
> > +---
> > | This is the Domino/400 Mailing List!
> > | To submit a new message, send your mail to DOMINO400@midrange.com.
> > | To subscribe to this list send email to DOMINO400-SUB@midrange.com.
> > | To unsubscribe from this list send email to
>DOMINO400-UNSUB@midrange.com.
> > | Questions should be directed to the list owner/operator:
>meechamw@ptd.net
> > +---
> >
> >
> >
> > +---
> > | This is the Domino/400 Mailing List!
> > | To submit a new message, send your mail to DOMINO400@midrange.com.
> > | To subscribe to this list send email to DOMINO400-SUB@midrange.com.
> > | To unsubscribe from this list send email to
>DOMINO400-UNSUB@midrange.com.
> > | Questions should be directed to the list owner/operator:
>meechamw@ptd.net
> > +---
>
>+---
>| This is the Domino/400 Mailing List!
>| To submit a new message, send your mail to DOMINO400@midrange.com.
>| To subscribe to this list send email to DOMINO400-SUB@midrange.com.
>| To unsubscribe from this list send email to DOMINO400-UNSUB@midrange.com.
>| Questions should be directed to the list owner/operator: meechamw@ptd.net
>+---
>
>
>
>+---
>| This is the Domino/400 Mailing List!
>| To submit a new message, send your mail to DOMINO400@midrange.com.
>| To subscribe to this list send email to DOMINO400-SUB@midrange.com.
>| To unsubscribe from this list send email to DOMINO400-UNSUB@midrange.com.
>| Questions should be directed to the list owner/operator: meechamw@ptd.net
>+---
>
>
>
>
>+---
>| This is the Domino/400 Mailing List!
>| To submit a new message, send your mail to DOMINO400@midrange.com.
>| To subscribe to this list send email to DOMINO400-SUB@midrange.com.
>| To unsubscribe from this list send email to DOMINO400-UNSUB@midrange.com.
>| Questions should be directed to the list owner/operator: meechamw@ptd.net
>+---

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

+---
| This is the Domino/400 Mailing List!
| To submit a new message, send your mail to DOMINO400@midrange.com.
| To subscribe to this list send email to DOMINO400-SUB@midrange.com.
| To unsubscribe from this list send email to DOMINO400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: meechamw@ptd.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.