如何在asp.net中发送自动邮件 [英] how to send a automatic mail in asp.net

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

问题描述

我需要在网络服务器中每天12点发送一封邮件,请为此提供一个可行的解决方案,帮助我


谢谢

I need a send a mail in everyday 12 clock in webserver pls give a feasible solution to this pls help me


Thanks

推荐答案

此解决方案是错误的,但它回答了您的问题.
1.弄清楚如何发送电子邮件.
2.使用update ajax控件更新页面,让它每小时大约说一次,并为12点钟标记if语句,如果if为true,则触发该电子邮件.
This solution is wrong yet it answers your question.
1. figure how to send an email.
2. use the update ajax control to update the page lets say every hour or so and throw an if statement for the 12 o''clock mark and fire that email if the if is true.


您的网络服务器是否正在使用数据库?

因为使用存储过程发送预定的电子邮件更容易
is your webserver using a database?

because it is easier to send a scheduled email using a stored procedure


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

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