%@ Language=VBScript %> <% '********************************************************************************* 'Copyright Dundas Software Ltd. 2000. All Rights Reserved. ' 'PURPOSE: The user can send an html-based email to the specified ' recipients, and optionally specify a background audio file ' as well as a background picture for the email. ' 'POST DESTINATION: SendHtmlEmail_Process.asp. ' 'INPUT: SMTP server (optional), TO recipients, CC recipients, BCC ' recipients, From address, Subject of the message, the message ' body, optional background audio file and optional background ' image for the html-based email. ' 'COMMENTS: Maximum amount of posted data is 1 Meg. ' A success message is displayed if the email is successfully ' sent. ' 'Dundas Software Contact Information: ' Email: sales@dundas.com ' Phone: (800) 463-1492 ' (416) 467-5100 ' Fax: (416) 422-4801 '********************************************************************************* %>
This demo sends an html-based email to a specified destination address, letting you set various message headers like From, Subject,CC and BCC. You can also select a background image as well as a background sound for the email.
We use this main page to retrieve email data and then post to an asp page (named SendHtmlMail_Upload.asp) which uses the upload and email controls to handle the embedded objects and send the email. If the operation is successful you will be redirected back to this main page. If it is not successful you will be redirected to an error page.