Pure ASP.NET Upload 2 AddOn Manual
Pure ASP Upload Add On Pack - Mail uploaded files
This Server Behavior allows you to generate a nice mail that includes all the uploaded files as attachments and send it automatically! It is used in combination with the "Pure ASP Upload" Server Behavior.
How to do it
- Open page
You should place the "Mail Uploaded Files" Server Behavior on a page where you have placed already the "Pure ASP Upload" Server Behavior. Now supporting CDO, Jmail, Persits and ASPMail!
- First apply the Pure ASP Upload 2.09 behavior
Before you can apply the Delete File Before Update extension, you have to upload the new image.
1. From the Server Behaviors panel select DMXzone - Pure ASP Upload 2.09.
2. Browse to the folder where the images will need to be uploaded to.
3. You can uncheck the Require Upload option to give the user the ability to update without uploading a new image.
4. Leave Go To After Uploading empty, since we are not done after this.
5. Click CTRL-S to save the file.
- Apply Mail Uploaded Files
- Save your file
Upload Folder - enter the virtual folder (relative to the current) where the files are uploaded. Leave it empty if you have already the path in your database.
From Name (Optional) - enter the Name of the sender. You can also set the Name value to a dynamic value by clicking the lightning bolt icon beside the From Name box.
Email - enter the Email of the sender. You can also set the Email value to a dynamic value by clicking the lightning bolt icon beside the From Email box.
To Name (Optional) - enter the Name of the receiver. You can also set the Name value to a dynamic value by clicking the lightning bolt icon beside the From Name box.
Email - enter the Email of the receiver. You can also set the Email value to a dynamic value by clicking the lightning bolt icon beside the To Email box.
Bcc Email (Optional) - enter the Email of a person to receive a blind copy. You can also set the Email value to a dynamic value by clicking the lightning bolt icon beside the Bcc Email box.
Mailer Type - Select the mailing component you would like to use.
Server - Enter the address of the SMTP Server. Only for JMail and ASPMail.
Subject - Enter the mail Subject.
Mail Body - enter the mail Body. You can add any text and mutiple lines. Also you can insert variables by clicking the lightning bolt icon beside the Mail Body box.
Report Errors - Select if you want, when an error occure, to see an error message and halt further processing of the page.
Send Html - Select if you want to send HTML mail. After checking this you can enter html codes in the mail body. Don't forget to enter a <BR> at the end of each line.
Redirect URL - Enter the URL where the page should be redirected after it has been processed. Usualy a follow up page.