自动发送电子邮件 [英] Sending Email automatically

查看:306
本文介绍了自动发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

我需要每隔一定时间自动发送电子邮件.我的应用程序环境是:具有ASP.NET的共享服务器,使用MYSQL和SQL Server的PHP.

我已经开发了Windows服务,并想与我的Web服务器一起部署它.我该怎么办?

或告诉我另一种发送自动电子邮件(数据库为sql)的方法,请向我发送紧急代码.

谢谢

Dear all,

I need to send Emails automatically at certain intervals. My application environment is: Shared server with ASP.NET, PHP using MYSQL and SQL Server.

I have developed windows service and want to deploy it with my webserver. How will i do it?

Or tell me another way to send automatic emails(with database as sql),send me the code its urgent please.

Thank you

推荐答案

成员4337800写道:
Member 4337800 wrote:

请向我发送代码,请急.

send me the code its urgent please.


这可能对您很紧急,但是这里的人会在空闲时间回复.你要保持耐心.
那么,发送代码意味着什么?您遇到了问题,人们会建议您可以做什么,您需要尝试一下.



It might be urgent to you but people here reply during there free time. You have to keep patience.
Then what do you mean by send code? You have an issue and people will suggest what you can do, you need to tryout.


成员4337800写道:
Member 4337800 wrote:

,并希望将其与我的Web服务器一起部署.我该怎么办?

and want to deploy it with my webserver. How will i do it?


制作Windows Service的安装程序,然后将其安装在Web服务器上.只是您需要连接到应用程序要连接的同一数据库.它是触发电子邮件而不是您的应用程序的数据库.您需要使用与应用程序中用于保存/读取数据的连接字符串相同的连接字符串与DB通信.


Make an installer of Windows Service and just install it on your webserver. It''s just that you need to connect to the same database that your application is connecting. It''s the database that is a trigger for emails and not your application. You need to communicate with DB using same connection string as you used in your application for saving/reading data.


这篇关于自动发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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