when i execute the above code shows error as follows
Failure sending mail
the above error shows in below line as follows
SmtpServer.Send(mail);