在asp.net中自动邮寄 [英] automatic mailing in asp.net

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

问题描述



我正在项目asp.net vb.我想将邮件发送给所有注册用户,并将这些电子邮件ID作为数据库表中的存储..

请帮助我吗?......

Hi,

I am working on project asp.net vb. I want to send mail to all registerd users, and Those email id as stores in database tables..

Pl''s help me?......

推荐答案

^ ]

假设您有权访问邮件服务器/smtp网关,则可以使用system.net.mail发送电子邮件
system.net.mail example[^]

Assuming you have access to a mail server / smtp gateway, you can use system.net.mail to send out emails


这里有一个通用例程: ^ ]是C#,但翻译非常简单.

但是请注意,某些Web主机将监视传出电子邮件的频率和计数,并且如果他们认为您看起来像垃圾邮件机器人,则可能将您关闭-因此您可能不想发送太多,太快的邮件.
There is a generic routine for that here: Sending an Email in C# with or without attachments: generic routine.[^] It''s is C#, but the translation is pretty simple.

Be aware though, that some web hosts will monitor the outgoing email frequency and count, and may shut you down if they think you are looking like a spambot - so you might not want to send too much, too quick.


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

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