[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get and HTML file before reading it from IFS to send it by sendmail_h



   I knew there was something else I intended to say...
   CGIDEV2 would probably be helpful, but note that as discussed in my
   original post, it reads in the entire HTML file, then replaces the data
   in memory.� At that point you'd have to write the file back out to the
   IFS in order to email it.
   Luckily, CGIDEV2 has the functionality built in to write the updated
   document to an IFS file.
   Here's a good article that discusses building XML docs with CGIDEV2
   (HTML would work the same, CGIDEV2 doesn't care what type of document
   it is)
   [1]http://www.ibmsystemsmag.com/ibmi/developer/rpg/Using-CGIDEV2-for-Ge
   nerating-XML/
   Charles

   On Mon, Sep 14, 2015 at 11:24 AM, bryan dietz <[2]bryandietz@xxxxxxxxx>
   wrote:

     you might want to look at CGIDEV2, it has a whole template system
     for exactly what you are looking for.
     [3]http://www.easy400.net/cgidev2/start
     Bryan
     Programador IBMi wrote on 9/14/2015 8:55 AM:

     � � Good Morning Everyone,
     � � I'm reading an html file located a a IFS folder using the�
     ifsio_h
     � � utility from Scott, but I need to know how I can access that
     � � information to replace values and send it by mail using the
     sendmai_h
     � � tool.
     � � I would like some kind of rpgile example to know How to do it,
     I'm a
     � � rookie in this kind of process hope you can guide me.
     � � Thanks again for your valuable help
     � � Have a blessed week!
     � � Best Regards,
     --------------------------------------------------------------------
     ---
     This is the FTPAPI mailing list.� To unsubscribe, please go to:
     [4]http://www.scottklement.com/mailman/listinfo/ftpapi
     --------------------------------------------------------------------
     ---

   -----------------------------------------------------------------------
   This is the FTPAPI mailing list.� To unsubscribe, please go to:
   [5]http://www.scottklement.com/mailman/listinfo/ftpapi
   -----------------------------------------------------------------------

References

   1. http://www.ibmsystemsmag.com/ibmi/developer/rpg/Using-CGIDEV2-for-Generating-XML/
   2. mailto:bryandietz@xxxxxxxxx
   3. http://www.easy400.net/cgidev2/start
   4. http://www.scottklement.com/mailman/listinfo/ftpapi
   5. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------