How can I send e-mails using Database Mail (which is integrated in SQL Server) in C# ? I couldn’t find a useful article or something which can help me thoroughly.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t have any experience with Database Mail, so this is just from looking at this tutorial, but it seems like you could just Parametrize an ADO.NET SQL Query with whatever you’re sending, and use ADO.NET to execute the SQL stored procedure for sending mail.