我们如何使用c#将电子邮件从不同域发送到asp.net中的不同域? [英] how we can send email from different domain to different domain in asp.net using c#?

查看:98
本文介绍了我们如何使用c#将电子邮件从不同域发送到asp.net中的不同域?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将电子邮件从 不同的域发送到不同的域如何发送?

例如:

我们希望将邮件从 rediffmail.com发送到gmail.com

yahoomail.com至gmail.com


如何在asp.net中实现
请提供答案

I want to send email from different domain to different domain how we can send?

for ex:

we want to send mail from rediffmail.com to gmail.com
or
yahoomail.com to gmail.com


how it will be possible in asp.net
please provide me the answer

推荐答案

我为此写了一篇文章,

使用ASP.NET帮助器轻松发送电子邮件 [ ^ ]

您可以阅读并记住,可以将电子邮件从任何地址发送到任何地址.您需要关心的就是您提供的凭据.

由于您使用的是ASP.NET,因此我写的文章将对所有内容进行说明,因此您可以使用内置的WebMail类并传递用户名,密码,然后将电子邮件发送给您想要的用户.互联网.
I have written an article for that,

Sending emails easily using ASP.NET helpers[^]

You can read that and remember, you can send email to any address from any address. All you need to care about is the credentials that you provide.

Since you''re using ASP.NET, the article I have written explains it all, you can use the built-in WebMail class and pass on your username, password and then send the email to who ever you want to on the Internet.


这篇关于我们如何使用c#将电子邮件从不同域发送到asp.net中的不同域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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