I have been trying to send an email by C#. I have Googled for various examples and have taken bits and pieces from each and from the standard code which everyone would most
This can happen if you don't set EnableSsl.
client.EnableSsl = true;