通过asp.net发送电子邮件3.5 [英] send email via asp.net 3.5

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

问题描述

我想发送电子邮件vi a .net 3.5表单(C#)

Im looking to send email vi a .net 3.5 form (C#)

我在其他地方看到几个帖子,让某些地址运行正常,但不是其他人,例如Gmail帐户。
完成的应用程序将不得不从数据库中接收地址,所以我必须满足很多可能性。
我不想让我的工作完成,只是一个正确的方向的推动将是很酷!

Ive seen a few posts elsewhere and got the thing running ok for certain addresses but not for others, eg gmail accounts. The finished app will have to pick up addresses from a database so Im having to cater for a lot of possibilites. Im not looking to have my work done for me, just a shove in the right direction would be cool!

谢谢

DD

推荐答案

Gmail帐户是否可能阻止您作为垃圾邮件发送者?如果您发送了大量电子邮件,或者如果服务器上存在配置问题,则可能会将您列入黑名单。

Is it possible the gmail accounts are blocking you as a spammer? If you're sending out a lot of emails, or if there is a configuraiton issue on your server, they may have blacklisted you.

如果电子邮件正在从您的服务器出来,但没有达到所有的收件人,但到达了一些,那么可能是您的直接控制之外的问题。电子邮件通过服务器和最终用户收件箱之间的几个服务器(即使收件箱位于Google的gmail服务器上也是如此)。

If the emails are going out from your server OK, but not reaching ALL of the recipients but is reaching SOME, then there is likely an issue outside of your direct control. An email goes through several servers in between your server and the enduser's inbox (and that's the case even if the inbox is on google's server for gmail.)

那就是说是您可以做的事情,以减少被阻止/列入黑名单的可能性。

That said, there are things you can do to reduce your likelihood of being blocked/blacklisted.

这是一个很好的开始: http://www.andreas-kraus.net/blog/tips-for-avoiding-spam- filters-with-systemnetmail /

This is a good place to start: http://www.andreas-kraus.net/blog/tips-for-avoiding-spam-filters-with-systemnetmail/

然后这里是从那里去哪里。 (抱歉 - 这只是一个谷歌搜索,但至少我给了相关条款。) http://www.google.com/search?q= system.net.mail + blacklist + spammer& rls = com.microsoft:en-us& ie = UTF-8& oe = UTF-8& startIndex =& startPage = 1

and then here is where to go from there. (Sorry - it's just a google search, but I gave you the relevant terms, at least.) http://www.google.com/search?q=system.net.mail+blacklist+spammer&rls=com.microsoft:en-us&ie=UTF-8&oe=UTF-8&startIndex=&startPage=1

最后,这是一个非常好的资源,一个很酷的URL。如果你学习这些方式,或许是力量,那么年轻的padawan。

Finally, here's a very good resource with a cool URL. Perhaps the force will be with you if you learn these ways, young padawan.

http://www.emaildeliveryjedi.com/avoid-spam-filters.php

但是回到您的原始问题 - 您需要了解如何编写代码以发送电子邮件的所有内容: http:// www。 systemnetmail.com/ 对于所有版本的.NET从2.0在uo上通过当前的4.0是相同的。

But getting back to your original question - everything you need to know about how to write code to send an email is covered here: http://www.systemnetmail.com/ It's the same for all versions of .NET from 2.0 on uo through the current 4.0.

我相信你已经意识到,但如果你不是,请确保你熟悉CAN-SPAM行为。 http://business.ftc.gov/documents/bus61 -can-spam-act-compliance-guide-business

And I'm sure you're already aware, but in case you're not, be sure you're familiar with the CAN-SPAM act. http://business.ftc.gov/documents/bus61-can-spam-act-compliance-guide-business

这篇关于通过asp.net发送电子邮件3.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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