Possible Duplicate:
Sending email in .NET through Gmail
using (var message = new MailMessage(fromAddress, toAddress)
{
Subject = subject,
Body = body
})
{
smtp.Send(message);
}
I run the program and he brings me an error Failed to submit mail .. Here is the code what could be the problem?