本文介绍了asp.net中的计划邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai Guys,
我的应用程序交易定期邮件概念(即)每天早上6.00上午,我的用户获得了关于他们的活动的一天的余款邮件...我不知道该怎么做....很多告诉使用Windows服务,但我将托管我的网站在共享服务器上,我可能无权获得Windows服务...有任何dll通过asp.net应用程序发送邮件在schduled时间..please帮助我的家伙。 .....

Hai Guys, My application deals scheduled mail concept (i.e) every morning 6.00 am my users gets a remainder mail about their activities for the day... I dont know how to do this.... Many told use windows service but i will host my website on a shared server i may not get rights to do windows service... Is there any dll for sending mails at a schduled time through asp.net application ..please help me out guys......

推荐答案

你不能在共享主机中做很多事情。尝试升级您的主机,或者写一个Windows服务,在您的机器上运行,这将调用可发送电子邮件的asp.net。当然,您的机器必须始终打开,或至少在上午6点之前:)。您将不得不采取正确的步骤,以避免对该aspx页面的未经授权的请求。

You cant do much in a shared hosting. Try upgrading your hosting or else write a windows service, to run on your machine, which will call an asp.net which can send out emails. Of course your machine has to be switched on all the time or at least during 6:00 AM :). You will have to take proper steps to avoid unauthorized request for that aspx page.

您也可以检查这篇文章:

you can check this article too: http://www.codeproject.com/KB/aspnet/ASPNETService.aspx

这篇关于asp.net中的计划邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 23:45