I want to send an Email message after a page is returned to the browser. Where do I place this send Email code so that it does not delay the page that is returned to the browser?
views:
47answers:
2
A:
Do you mean through Javascript? The best you can do is with mailto: on window.load but I wouldn't recommend this. Can you explain the situation more in depth?
alex
2008-12-12 03:50:13
+2
A:
ASP.NET pages have an unload event that fires after the content is returned to the browser. Should be exactly what you're looking for.
Chris Pebble
2008-12-12 03:55:46