I have got this issue many times, when I try to send email using smtp. There can be several causes for this. You have to allow relay for mail to be sent to outside servers like gmail.com. For sending mail within your server you don't have to do this. You can find some helps from the following links:Help1Help2Help3The code I have used is given below:using System.Net.Mail; SmtpClient smtpClient...