tag:blogger.com,1999:blog-4702950152327976706.post3383445709867400155..comments2024-03-29T00:13:54.029-07:00Comments on Just geeks: Reliable Sending of Email for.Net/C# using SQL ServerBrent Vhttp://www.blogger.com/profile/15891142062380248367noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4702950152327976706.post-63744746195016378182016-11-09T09:37:57.203-07:002016-11-09T09:37:57.203-07:00Thanks. This saved me some work.Thanks. This saved me some work.Jonathan Shieldsnoreply@blogger.comtag:blogger.com,1999:blog-4702950152327976706.post-75568027337898838502011-12-23T09:06:45.919-07:002011-12-23T09:06:45.919-07:00Hi Sush,
I'm not sure I understand your quest...Hi Sush,<br /><br />I'm not sure I understand your question. The code I provided here is the code you would call from your .aspx page. You just need to change the profile name to match what you have in SQL Server Database Mail.<br /><br />While this does not send the mail immediately, it is pretty close to it.<br /><br />I hope that helps.<br /><br />BrentBrent Vhttps://www.blogger.com/profile/15891142062380248367noreply@blogger.comtag:blogger.com,1999:blog-4702950152327976706.post-3766863219720917552011-12-23T06:46:56.646-07:002011-12-23T06:46:56.646-07:00Hi Brent,
Thanks for your posts,they are highly ...Hi Brent, <br /><br />Thanks for your posts,they are highly informative. <br />I am looking at sending emails from a web screen [aspx page] and I have configured the database mail in SQL Server 2005. Could you let me know whats the most optimal way of sending mail onclick of the page.<br /><br />Some details of the page are as follows:<br />The screen has some input fields where the user will chose from dropdownlists and some fields where he will leave his comments, <br />there will be a option shown below if he would like to send all these details via mail to Approver , if yes he needs to key in the email id and click Submit. On clicking Submit the details entered by the user must be stored in the db and the same details must be sent to the approver by mail. <br /><br />As i said earlier , Database mail is configured. <br /><br />Let me know your thoughts.<br />Thanks!<br />SushSushnoreply@blogger.com