By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,682 Members | 1,407 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,682 IT Pros & Developers. It's quick & easy.

Query results into email

P: n/a
Hi,

I'm working on a program that will periodically run a
query on a SQL database. What I would like it to do is to
automatically take the results of that query (should be
only a couple of lines at a time,) add that information to
the body of an email and automatically send it.

Any idea of how to do the email piece of this? I'm
assuming it will be via SMTP.

Thanks,Ken
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

http://msdn.microsoft.com/library/de...s_SendMail.asp

Ken
-----------
"Ken Barz" <kb@nospam.com> wrote in message
news:07****************************@phx.gbl...
Hi,

I'm working on a program that will periodically run a
query on a SQL database. What I would like it to do is to
automatically take the results of that query (should be
only a couple of lines at a time,) add that information to
the body of an email and automatically send it.

Any idea of how to do the email piece of this? I'm
assuming it will be via SMTP.

Thanks,Ken

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.