Welcome Guest Search | Active Topics | Sign In | Register

File Upload and Email Options
Colin
Posted: Sunday, August 31, 2008 6:28:24 AM
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.
eo_support
Posted: Sunday, August 31, 2008 7:53:54 AM
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\_i2

Thanks!
Colin
Posted: Sunday, August 31, 2008 8:56:40 AM
Rank: Advanced Member
Groups: Member

Joined: 2/1/2008
Posts: 35
Excellent, that's that job done! thanks for the help.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.