Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

XML
<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>


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?
Posted
Updated 20-Oct-10 21:17pm
v2
Comments
n.podbielski 21-Oct-10 3:05am    
And you changed a server adress to? If not it would authentication error since at gmail there is not such account.
Sandeep Mewara 21-Oct-10 3:18am    
Changed your email-id & passwords so that its not public.

1 solution

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

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

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900