473,396 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Send E-Mail TO SQL Server

I have a SQL Server 2000 application that send's e-mail to users using
the xp_smtp_sendmail procedure. That works fine. What I would like
to do is RECIEVE e-mail with SQL Server.

Example: I text message an alert to a user. They reply with some
keyword in the subject of their reply e-mail, such as 'ACKNOWLEDGED'
or 'ACK' for short. SQL Server recieves this and then acts upon it
with a stored procedure, etc.

Anyone know if this is possible and with what tool?

TIA,

Lindsey
Jul 20 '05 #1
3 2355
li************@fmc-na.com (lhansen) wrote in message news:<c3**************************@posting.google. com>...
I have a SQL Server 2000 application that send's e-mail to users using
the xp_smtp_sendmail procedure. That works fine. What I would like
to do is RECIEVE e-mail with SQL Server.

Example: I text message an alert to a user. They reply with some
keyword in the subject of their reply e-mail, such as 'ACKNOWLEDGED'
or 'ACK' for short. SQL Server recieves this and then acts upon it
with a stored procedure, etc.

Anyone know if this is possible and with what tool?

TIA,

Lindsey


If you set up SQL Mail, you can use sp_processmail to handle incoming
emails. Although if you're using xp_smtp_sendmail, then presumably SQL
Mail may not be an option for you.

Although I don't know of an existing tool, it should be relatively
easy to write a script which connects to a mailbox, parses the emails
and then connects to SQL Server to do something there. You can then
schedule it to run at a suitable interval (every 5 minutes or
whatever), or make it into a service.

Simon
Jul 20 '05 #2
Thank you for your response Simon. One question, though, would that be
a vb script that I would write?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #3

"lhansen" <lh*****@nospammmmmm.com> wrote in message
news:40***********************@news.frii.net...
Thank you for your response Simon. One question, though, would that be
a vb script that I would write?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Any language with support for handling emails and COM objects would work, so
you could use VBScript, Perl, Python, C# etc. I'd pick the language that you
are most comfortable with, and that you have other resources/skills for in
your organization.

Simon
Jul 20 '05 #4

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

Similar topics

2
by: Tom Brown | last post by:
Hi, I have what seems to be a simple problem. But I can not for the life of me find a way to send an integer over a socket. The send method will only accept strings. Here is what I am trying to...
1
by: Amadej | last post by:
Hello everyone, I'm having some odd problems with a little program I wrote for sending/receiving bytes across the network. I am using synchronous sockets, and it seems that when I send byte...
1
by: GrantS | last post by:
I need to use a sendkeys key combination to automate the "accept files" that a remote user wants to send to me via Windows messenger. I am using automation to work with Windows Messenger client in...
1
by: Hasan O | last post by:
hi , I have a problem with socket.send mesajlar = Encoding.ASCII.GetBytes("UGIR"); socketResultValue = socket.Send(mesajlar,0,mesajlar.Length, SocketFlags.None); socketResultValue =...
1
by: charlies224 | last post by:
Hi, I am writting a software that requires me to make sure the Num Lock is always on and Caps Lock is always off. First, I know how to detect if Num Lock or Caps Lock is on or off (if...
3
by: growse | last post by:
Right, I've got a 2 c# programs here. Lets call them A and B. My aim is to send a simple string from B to A. A is always running. I've overridden the WndProc method to give me messages that are...
3
by: BuddyWork | last post by:
Hello, Could someone please explain why the Socket.Send is slow to send to the same process it sending from. Eg. Process1 calls Socket.Send which sends to the same IP address and port, the...
0
by: Buddy Home | last post by:
There is two examples of code. Example 1. Send and Receive within the same process. Put this code in a console app called SendAndReceive and run the code. using System; using...
9
by: Mahernoz | last post by:
Can i send an email from JavaScript? Is it possible? If yes please the code to send email using javascript...
1
by: remya1000 | last post by:
how to send a .txt file to a printer. after creating a .txt file i need to send that .txt file to a printer.using vb.net and while sending that file to printer i need to tell, which printer i need...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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
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,...

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.