|
The biggest problem is how to send out the queried data via email.
You can create a dynamic page like this. After you take out the records from SQL (of course, don't take them all at once, take a part at a time), loop the record set, construct the URL according to the value of each record, and use a com component called winhttp , Visit the dynamic page just created, you can get the content of each record, and then you can use jmail or the system's own Mail to send it to the user's mailbox.
Until all records have been sent. |
|