Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 sql server problem urgentttttttttttttttttttttttttt

Author  Topic 

pkuchaliya
Starting Member

49 Posts

Posted - 2008-07-22 : 03:40:52
hi to all,

Is it possible to send the mail via sql server ,i have designed a application which will call a procedure. i want that when this application call the procedure then procedure will send the mail automatically.



pankaj

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-07-22 : 03:42:38
Yessssssssssssssssssssssssssssssssssssssssss.


E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-07-22 : 04:31:17
look for xp_sendmail if you're using sql 2000 and sp_send_dbmail if you're using sql 2005
Go to Top of Page

pkuchaliya
Starting Member

49 Posts

Posted - 2008-07-22 : 06:31:01
Please tell me how i can do it
Please i need it
Waiting your reply

pankaj
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-07-22 : 06:43:24
Visakh told you to use xp_sendmail.

Now you have to show some effort and look up Books Online for further assistance.
Try for yourself, and if your code doesn't work, post your attempt here and maybe we can help you ouot what is missing or wrong.



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

pkuchaliya
Starting Member

49 Posts

Posted - 2008-07-22 : 09:16:58
ok


pankaj
Go to Top of Page
   

- Advertisement -