从mail4india电子邮件ID发送邮件 [英] sending mail from mail4india email id

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

问题描述

我的域名为"softgenindia.com"
我也有从``mail4india''购买的电子邮件帐户,即``ABC@softgenindia.com''.
我正在从asp.net应用程序发送邮件.
为此,我在使用我的gmail帐户时在我的web.config中使用以下行

I have domain name "softgenindia.com"
I also have email account purchased from ''mail4india'' i.e. ''ABC@softgenindia.com''.
I am sending mail from my asp.net application.
for this i am using following lines in my web.config as i wasusing my gmail account

<system.net>
   <mailSettings>
     <smtp from="abc@gmail.com" deliveryMethod="Network">
       <network host="smtp.gmail.com" port="587" userName="abc@gmail.com" password="123245"/>
     </smtp>
   </mailSettings>
 </system.net>



但是当我提供用户名=sales@softgenindia.com
时 和password ="abc",这不是发送邮件并提供身份验证错误.

mail4india电子邮件帐户的设置是什么?



But when I am giving the username=sales@softgenindia.com
and password="abc", It is not sending mail and giving error of authentication.

What will be the settings for mail4india email account?

推荐答案

您还必须更改 mail4india 的POP和SMTP邮件服务器

you have to change the POP and SMTP mail server also of your mail4india

<system.net>
   <mailSettings>
     <smtp from="POP" deliveryMethod="Network">
       <network host="SMTP" port="587" userName="abc@gmail.com" password="123245"/>
     </smtp>
   </mailSettings>
 </system.net>


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

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