Rank: Advanced Member Groups: Member
Joined: 2/1/2008 Posts: 35
|
Hi,
Is it possible to get an automated email sent (using same email address and not requiring any input from the user) each time somebody uploads a file to the relevant destination folder. Could this be done when the user clicks the 'Upload' button?
I am using vb and any example code would be appreciated.
Regards.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,201
|
Hi, I assume that you are asking about AJAXUploader. Please let us know if you meant something else. You can set AJAXUploader's AutoPostBack to true. That way as soon as the file upload is done, the page is automatically posted back and the server side FileUploaded event is raised. You can then call whatever code you would like, such as sending out emails there. This sample demonstrated this feature: http://www.essentialobjects.com/Demo/Default.aspx?path=AJAXUploader\_i2Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 2/1/2008 Posts: 35
|
Excellent, that's that job done! thanks for the help.
|