on-internet
← Community

send email without gmail

Stack Overflow ·

It seems many solutions involve using a server: smtp.gmail.com and System.Net.Mail.SmtpClient. one two Other's suggest using System.Web.Mail (which many say has been deprecated): here for example. In any case, when I tried it, I wasn't able to get either of the above examples to work. I don't think it's a firewall problem. I am able to use outlook express to send emails through gmail. The error in C# that I am given is that the target machine is actively refusing the connection. Should I attempt to use outlook from the code? Would the best way to do that be through AutoIt or through some dll/c

Comments

Sign in or sign up to comment and upvote.

No comments yet.