|
On Feb 3, 2012, at 3:56 PM, web400-request@xxxxxxxxxxxx wrote:
Can I "write" it to a character field in my program? Avoid IFScompletely?
Seems dumb to write a file, read it and send it, delete it, create it,read
it, send it.... and so on.
Yes - use the getHtmlBufferP() API to obtain the length and a pointer to
the buffer. Use the pointer to base any field in your program and sent that
in its way. Depending on what you are calling to send the mail you may even
be able to avoid defining a field and just send the pointer.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
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.