Create and email a word document from ASP.

Category:
ASP, HTML and XML
Type:
Snippets
Difficulty:
Intermediate
Author:
Alastair Vance

Version Compatibility: ASP

More information:
This example ASP subroutine will create a word document "on the fly" and email it, before deleting it from the server.

To email, the subroutine uses ASPMail (Free) from Flicks Software (www.flicks.com). You may replace it with any mail component you wish.

NOTE: You will have to change a number of hard coded values in the snippet below based on your needs. See the code's comments for places that require a change.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: