R
Ron Vecchi
I've used System.Web.Mail before but have never had the need to send
attchemnets through it...until now.
A client of mine would like a form on the website to allow a user to type up
a message and upload a file. I'm staying away from mailto links.
So the file and message will be uploaded to the server when the user clicks
send. The new file and message will be processed and emailed from the
server to my client.
I'm tring to get any "heads ups" from any one who has delt with sending
emails with large attachments(20mb) programmtically.
What I am thinking is that the user clicks the button and waits(...) from
the post to the server to be made.
Then open a new thread that will send the email out(letting the user
continue on browsing the website without waiting for the email to be sent
off the server).
So to me It seems that..
-------------------------
1) I have to make sure the new thread doesn't expire befor the email is
sent.
2) The thread is completely independant of the parent thread(that is the
page request should not wait for a response from the new thread)
2) Make sure the shared host allows large attchments.(webhost4life)
3) Any thing else you fellow .net people can add.......
Thanks,
Ron Vecchi
attchemnets through it...until now.
A client of mine would like a form on the website to allow a user to type up
a message and upload a file. I'm staying away from mailto links.
So the file and message will be uploaded to the server when the user clicks
send. The new file and message will be processed and emailed from the
server to my client.
I'm tring to get any "heads ups" from any one who has delt with sending
emails with large attachments(20mb) programmtically.
What I am thinking is that the user clicks the button and waits(...) from
the post to the server to be made.
Then open a new thread that will send the email out(letting the user
continue on browsing the website without waiting for the email to be sent
off the server).
So to me It seems that..
-------------------------
1) I have to make sure the new thread doesn't expire befor the email is
sent.
2) The thread is completely independant of the parent thread(that is the
page request should not wait for a response from the new thread)
2) Make sure the shared host allows large attchments.(webhost4life)
3) Any thing else you fellow .net people can add.......
Thanks,
Ron Vecchi