如何使用asp.net c#在未来日期发送邮件? [英] how to send mail in future date using asp.net c#?

查看:75
本文介绍了如何使用asp.net c#在未来日期发送邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨先生,

告诉我使用asp.net c#在未来日期发送邮件的步骤。请给我这个问题的解决方案。





[注意:如果我设定日期和时间,则必须发送邮件在上述日期和时间]

解决方案

使用计时器。在 Elapsed 事件中,检查要发送的电子邮件,然后发送。


参考:类似答案 [ ^ ]

Hi sir,
Tell me the steps to send mail in future date using asp.net c#. Kindly give me the solution for this problem.


[Note: If i set the date and time, it has to send the mail in that mentioned date and time]

解决方案

Use a Timer. In the Elapsed event, check for emails to be sent, and send them.


Refer: Similar answer[^]


这篇关于如何使用asp.net c#在未来日期发送邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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