Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
I sent an email but I did it with and smtp I want to send email without password in c# How can ı do it Actually I am using c++ sending email difficult for c++ so I am trying c# console app , windows application, windows form application

What I have tried:

I tried send email without password
Posted
Updated 26-Mar-17 4:05am
Comments
[no name] 26-Mar-17 10:03am    
You find an email server that is open to anyone and everyone that doesn't require a password to use.

1 solution

Sending without a password is a function of the email host you are using, not of your application - other than "don't provide a password" or "use a blank password" in your app. If your email host requires a login then you have to provide a valid username / password combination (even if the password is blank) or your email will be refused.

You can't bypass that - it's a legitimate security measure designed to prevent the email host being used as a mass-marketing scam / spam source and is enforced in most - if not all - email hosts.
 
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