IBM HTTP Server for AS/400
"You've got mail" with Net.Data


Terms of Use
  1. You may freely download this file or set of files for use within your site or at your client sites.
  2. You must keep all of the original copyrights and other notifications with all copies of the file(s) that you download from this site.
  3. You may use any of the code or techniques described in your own programs.
  4. You may not develop any article, publication, Web page or other document that is based entirely or substantially on any of the information or code that you download.
  5. You may link directly to www.web400.com from any of your Web sites. Please do not link directly to internal pages on this site.
  6. Use of any materials, files, descriptions, code, procedures, etc., that you obtain from this Web site is AT YOUR OWN RISK. DO NOT USE any of the materials, files, descriptions, code, procedures, etc., if you are uncertain what the effect might be, and if you do not have adequate backup and recovery to correct any possible problems.
  7. I do not offer "free" support for any of the material available on this site. Consulting services are available by request for a fee.


File name: "You've got mail" with Net.Data
Environment: AS/400 or iSeries 400 Net.Data, V4R4 or above, working AS/400 or iSeries 400 SMTP configuration
Date Posted: October 4, 2001

About this document:
You can use the Net.Data @dtw_sendmail function to easily format and send e-mail messages from a Net.Data macro. The function uses the SMTP server on the iSeries 400 to send the e-mail message to the recipient.

This article shows a sample Net.Data macro that queries a customer database file and sends an e-mail message to customers who have a balance due amount greater than the specified amount.
Link to the article:
NetDataEmail.pdf - PDF file that shows how to use @dtw_sendmail function in Net.Data. (1107KB)


Download Files:
SendMail.ndm - Net.Data macro extracted from the article. Because this uses the standard QIWS/QCUSTCDT database file, you should be able to run this macro on your iSeries 400.




Craig Pelkie
Bits & Bytes Programming, Inc.
craig@web400.com

WEB400 Home Page Download Files


Web Server, AS/400
Copyright © 2001, Bits & Bytes Programming, Inc., ALL RIGHTS RESERVED

WWWSights, Publisher
Last modified October 4, 2001