Sending email with C# without SMTP Server?

Viewed 44291

I am making a simple website. It is hosted on my VPS to which I run IIS 7 and have full access to. DNS is setup and configured but no mail servers or anything are configured.

I want users to be able to send feedback through a very simple form.

I however do not have an SMTP server (that I am aware of).

string from = "";
    string to = "someemails@hotmail.com";
    string subject = "Hi!";
    string body = "How are you?";
    SmtpMail.SmtpServer = "mail.example.com";
    SmtpMail.Send(from, to, subject, body);

I want to send the messages to a free email account but I'm not sure how since I do not have an SMTP server.

Is there some other way I can do it? Or some alternative (like using a free smpt or something)

Thanks

3 Answers
Related