I have the following code to send an email:
System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient();
client.Send([email protected], "[email protected]", "test", "test");
Now because I'm sending it from my own work PC, I have IIS 5.0 setup and obviously most email servers on the recipients side will assume this could be spam as its coming from a ADSL IP. So I authenticate the code above using:
client.Credentials = new System.Net.NetworkCredential(myEmailHere, myPasswordHere);
But it still won't send to some clients. Is there a way around this? Eventually this code will sit on a RackSpace server, how could/would I set it up to make sure the recipient servers do not think its spam?