× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



There is an error datastructure returned by the api.  The easiest way to
find out what's wrong may be to debug the http job.

Phil



> -----Original Message-----
> From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On
> Behalf Of Christopher A. Libby
> Sent: Monday, March 18, 2002 1:37 PM
> To: rpg400-l@midrange.com
> Subject: Re: QtmmSendMail API
>
>
> I am using an altered version of the SNDEMAILR from the iSeries Network
> article "RPG Utility Puts AtmmSendMail API to work" circa Sept 1998.   I
> have used the SNDEMAIL command with great success.
>
> In my program, I commented out anything related to file attachments &
> mime-encoding (wasn't needed) and put it all into a CallP
> routine.  All the
> IFS API's seem to work flawlessly, but only in /tmp.  It's the
> QtmmSendMail
> routine which doesn't seem to work in the program.
>
> Here is the full message generated when I use SNDEMAIL successfully:
>
> Return-path: <CLIBBY@MAINEPUBLICSERVICE.COM>
> Received: from MPS.as400.ntlan by mainepublicservice.com
>  with SMTP (MDaemon.PRO.v5.0.4.R)
>  for <CLIBBY@MAINEPUBLICSERVICE.COM>; Mon, 18 Mar 2002 13:34:18 -0500
> Sender: CLIBBY@MAINEPUBLICSERVICE.COM
> Date:
> From:  <CLIBBY@MAINEPUBLICSERVICE.COM>
> MIME-Version: 1.0
> To: CLIBBY@MAINEPUBLICSERVICE.COM
> Subject: TESTING
> Content-Type: multipart/mixed; boundary="--PART.BOUNDARY.1"
> X-MDRcpt-To: CLIBBY@mainepublicservice.com
> X-Return-Path: CLIBBY@MAINEPUBLICSERVICE.COM
> X-MDaemon-Deliver-To: CLIBBY@MAINEPUBLICSERVICE.COM
> Reply-To: CLIBBY@MAINEPUBLICSERVICE.COM
> Message-ID:
> <MDAEMON-F200203181334.AA341874md50001171934@mainepublicservice.com>
>
> This is a multi-part message in MIME format.
>
> ----PART.BOUNDARY.1
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> TESTING
>
>
>
> ----PART.BOUNDARY.1--
>
>
> Here is the one I generate in my CGI:
>
> Date: Mon, 18 Mar 2002 11:18:18 -0500
>
> From: MPS Customer Service <custserv@mainepublicservice.com>
>
> To: Christopher A. Libby <CLIBBY@MAINEPUBLICSERVICE.COM>
>
> Subject: MPS Customer Website Login Info
>
>
>
> You are receiving this message because you have recently requested your
> account information from the MPS Customer Website.
>
> Username: xxxxxx
>
> Password: xxxxxx
>
> If you have any problems or questions, please email customer support at
> custinfo@mainepublicservice.com.
>
>
>
> .
>
>
>
>
>
>
>
>
>
>
>
> ----- Original Message -----
> From: "Phil" <sublime78ska@yahoo.com>
> To: <rpg400-l@midrange.com>
> Sent: Monday, March 18, 2002 1:19 PM
> Subject: RE: QtmmSendMail API
>
>
> > Is the api not working when called from a CGI pgm but it does work
> > interactively, or is it not working for you at all?
> >
> > Phil
> >
> > > -----Original Message-----
> > > From: rpg400-l-admin@midrange.com
> [mailto:rpg400-l-admin@midrange.com]On
> > > Behalf Of Christopher A. Libby
> > > Sent: Monday, March 18, 2002 1:03 PM
> > > To: rpg400-l@midrange.com
> > > Subject: Re: QtmmSendMail API
> > >
> > >
> > > I've checked the QMSF joblogs, and the QSMTP* joblogs - I haven't been
> > > getting any error messages.  I've restarted the servers a few
> > > times too, no
> > > luck there either.  The files are being stored in /tmp on the
> > > IFS, and they
> > > remain there after they have been written.
> > >
> > > -Chris
> > >
> > > ----- Original Message -----
> > > From: <dmosley@dancik.com>
> > > To: <rpg400-l@midrange.com>
> > > Sent: Monday, March 18, 2002 12:11 PM
> > > Subject: Re: QtmmSendMail API
> > >
> > >
> > > >
> > > > Is your MSF server started.  If so, check their joblogs for any
> problem
> > > > messages.  Also, check to see if your IFS files are remaining in on
> your
> > > > system.
> > > >
> > > > David L. Mosley, Jr.
> > > > Systems Analyst
> > > > 2000 CentreGreen Way
> > > > Suite 250
> > > > Cary, NC 27513
> > > >
> > > >
> > > >
> > > >                     "Christopher A.
> > > >                     Libby"                       To:
> > > "RPG400-L@midrange. com" <RPG400-L@midrange.com>
> > > >                     <clibby@mainepublicse        cc:
> > > >                     rvice.com>                   Subject:
> > > QtmmSendMail
> > > API
> > > >                     Sent by:
> > > >                     rpg400-l-admin@midran
> > > >                     ge.com
> > > >
> > > >
> > > >                     03/18/02 12:01 PM
> > > >                     Please respond to
> > > >                     rpg400-l
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Has anyone out there had success with the QtmmSendMail API?  I'm
> writing
> > > an
> > > > email out to the IFS, and I've given *PUBLIC *RWX permission.  QMSF
> > > doesn't
> > > > seem to pick it up.  We have Gumbo Spoolmail and SNDDST working
> > > perfectly.
> > > >
> > > > The only problem I can isolate is that I'm sending this email from a
> CGI
> > > > program.  I've tried Spoolmail, SNDDST and now the QtmmSendMail API
> with
> > > no
> > > > success, but all these tools seem to run interactively.
> > > >
> > > > Thanks in advance!
> > > > -Chris
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > This is the RPG programming on the AS400 / iSeries (RPG400-L)
> > > mailing list
> > > > To post a message email: RPG400-L@midrange.com
> > > > To subscribe, unsubscribe, or change list options,
> > > > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> > > > or email: RPG400-L-request@midrange.com
> > > > Before posting, please take a moment to review the archives
> > > > at http://archive.midrange.com/rpg400-l.
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > This is the RPG programming on the AS400 / iSeries (RPG400-L)
> > > mailing list
> > > > To post a message email: RPG400-L@midrange.com
> > > > To subscribe, unsubscribe, or change list options,
> > > > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> > > > or email: RPG400-L-request@midrange.com
> > > > Before posting, please take a moment to review the archives
> > > > at http://archive.midrange.com/rpg400-l.
> > > >
> > > >
> > >
> > >
> > > _______________________________________________
> > > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
> list
> > > To post a message email: RPG400-L@midrange.com
> > > To subscribe, unsubscribe, or change list options,
> > > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> > > or email: RPG400-L-request@midrange.com
> > > Before posting, please take a moment to review the archives
> > > at http://archive.midrange.com/rpg400-l.
> > >
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> > _______________________________________________
> > This is the RPG programming on the AS400 / iSeries (RPG400-L)
> mailing list
> > To post a message email: RPG400-L@midrange.com
> > To subscribe, unsubscribe, or change list options,
> > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> > or email: RPG400-L-request@midrange.com
> > Before posting, please take a moment to review the archives
> > at http://archive.midrange.com/rpg400-l.
> >
> >
>
>
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> or email: RPG400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.