自动发送电子邮件而不执行任何事件 [英] Automatically Sending Email Without Performing any Event

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

问题描述

嗨朋友



我需要每天自动发送电子邮件而不执行任何页面点击活动..



我也不应该使用Windows服务..



指导我克服这个问题..



谢谢

Hi Friends

I need to send an Email Automatically everyday without performing any page click events..

I should never use Windows services also..

Guide me to overcome with this issue..

Thanks

推荐答案

为此,它需要一次性在任何地方或任何用户呼叫您的网站。

或者为此您可以将任务计划程序设置为一次运行浏览器。如果今天没有发送邮件,那么邮件发送事件应该出现在你的页面加载事件和检查条件然后发送。



然后在数据库中保持您的状态,即按日期发送邮件。

如果已经发送,则无需触发事件发送邮件。



看到你必须从你的后端尝试这个。如果您遇到任何问题,每个人都会来帮助您。但是你可以实现这个想法。
For this it needs at a single time to call your website anywhere or from any user.
Or for that you can set "Task Scheduler" to run a browser on a time. Mail send event should present on you page load event with check condition if not sent today mail yet then send.

Then maintain your status in database that mail is sent by datewise or not.
If already sent then no need to fire the event to send mail.

See you have to try this from your backend. If you are getting any problem everybody is here to help you. But this much idea you can implement that.


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

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