问题
I need to send a mail from Stored Procedure. I knew it is possible. I studied it from this link . How do i authenticat in SMTP Server. Do you have any idea.?
Thanks
回答1:
You can use SQL Database Mail.
See Database Mail and SQL Mail Stored Procedures (Transact-SQL)
And here's a Tutorial
回答2:
Using extended stored procedures to create an use and ActiveX that sends the email or create an assembly that sends the mails and use it from sql2008.
来源:https://stackoverflow.com/questions/3177267/how-to-send-mail-from-stored-procedure