Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Is there a way to send a mail without using SMTP, DNS server using c#.

let the mail come to spam. never mind the security and all.. i just want to send a mail. i have no DNS in my server .
Posted
Updated 28-Oct-15 2:00am
v2
Comments
AnvilRanger 28-Oct-15 7:59am    
Your question make no logical sense at all. If you think about your question in detail it will make sense. How would you be able to send email without an SMTP server of some kind? The answer is you can't.

No if you mean you do not have a local SMTP server, then look at using Gmail or one of several free web mail accounts. However this is would not be the optimal solution for a application that will generate anything more that a few messages.
provi 777 28-Oct-15 15:16pm    
you are right

1 solution

You can use the server's IP address to connect to, you don't have to use a DNS name.
 
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