473,480 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

send email through stored procedure

Hi

Can anyone tell me how can I send email through stored procedure in sql
server ? I want to send attachment with this email too.

TIA
Nov 19 '05 #1
3 1880
I didn't know the answer, so I googled for
"send mail SQL Server stored procedure"
http://www.google.com/search?hl=en&q...=Google+Search

and the first link in the Google results is :
http://support.microsoft.com/default...;en-us;Q312839

and the second link is :
http://www.sqlteam.com/item.asp?ItemID=5003

They both walk through what you need to do.

Google is a good friend, Patrick. Learn to use it.

Juan T. Llibre
ASP.NET MVP
===========
"Patrick" <ki*******@juno.com> wrote in message
news:OX****************@TK2MSFTNGP11.phx.gbl...
Hi

Can anyone tell me how can I send email through stored procedure in sql
server ? I want to send attachment with this email too.

TIA

Nov 19 '05 #2
You're likely to get more informed responses from the SQL Server newsgroup,
since this question really has nothing to do with ASP.NET.

That said, here's a link that may help:
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Patrick" <ki*******@juno.com> wrote in message
news:OX****************@TK2MSFTNGP11.phx.gbl...
Hi

Can anyone tell me how can I send email through stored procedure in sql
server ? I want to send attachment with this email too.

TIA

Nov 19 '05 #3
You're likely to get more informed responses from the SQL Server newsgroup,
since this question really has nothing to do with ASP.NET.

That said, here's a link that may help:

http://www.eggheadcafe.com/articles/20010301.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Patrick" <ki*******@juno.com> wrote in message
news:OX****************@TK2MSFTNGP11.phx.gbl...
Hi

Can anyone tell me how can I send email through stored procedure in sql
server ? I want to send attachment with this email too.

TIA

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5116
by: Eranut | last post by:
Hi, I am trying to understand if there is a way to send a table of records (table of structs) from pro C to Oracle pl/sql stored procedure. Since Oracle is demanding definition of the *sent*...
3
8141
by: T.S.Negi | last post by:
Hi All, I have to write a stored procedure which will send/Receive text file from/to a server by using FTP. Is anybody have done anything on it? or know about it. If yes, I would like to know...
2
6409
by: Larisa | last post by:
Hello everyone, I need advice of how to accomplish the following: Loop though records in a table and send an email per record. Email recipient, message text and attachment file name - that's...
1
5978
by: aish | last post by:
I want to send email using sql stored procedure.my code is work fine in my local sqlserver account. when I use my online sql server it display this error. EXECUTE permission denied on object...
1
1683
by: JT | last post by:
can someone point me in the right direction for learning more about how to go about sending a batch of sql statements from asp to sql server, and having errors appropriately handled? for...
1
4916
by: a | last post by:
how to send an xml dataset to a Stored Procedure in mssql I have an xml file that I read into a dataset. and I'm trying to use a stored procedure (see SPROC #1 below) that inserts this xml...
11
5008
by: Tim Smallwood | last post by:
Hi, I have an Access project that I use to allow a client to hit an SQL server at my host. This project has several forms that are used to udpate tables, etc, but I'd also like to be able to...
11
1922
by: Leon | last post by:
I have six textbox controls on my webform that allows the user to enter any numbers from 1 to 25 in any order. However, I would like to sort those numbers from least to greatest before sending them...
2
2431
by: shahnawaz shaikh | last post by:
hi friends i want to send email thoruth stored procedure or i want to give functionality like alert which is send email automaticaly from database. just like a news or any ad email weekly or...
0
7050
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
6966
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5344
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4787
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4488
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2999
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2988
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1303
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
564
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.