Windows服务,用于读取电子邮件和更新数据库 [英] Windows service to read email and update database

查看:104
本文介绍了Windows服务,用于读取电子邮件和更新数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试编写Windows服务来读取电子邮件,并将其插入数据库中,然后从该数据生成文件并通过电子邮件发送.

我希望所有这些都可以通过Windows服务来完成.

有人可以指定如何实现此目标吗??

i am trying to write a windows service to read email as it comes and insert it into database and after that generate a file from that data and email it.

i want all this to be done through a windows service.

could anybody specify how to achieve this...?

推荐答案

尝试.首先开始:

Windows服务
发送自动电子邮件警报的简单Windows服务 [ Windows服务应用程序简介 [ MSDN:ADO.NET [ MSDN:使用ADO.NET访问数据 [ ^ ]
Try. To start with:

Windows Service
Simple Windows Service which sends auto Email alerts[^]

MSDN: Details about Windows Service:
Introduction to Windows Service Applications[^]


Database operation
Read about ADO.NET here and it will help you.

Look at these:
MSDN: ADO.NET[^]
MSDN: Accessing Data with ADO.NET[^]


这篇关于Windows服务,用于读取电子邮件和更新数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆