problem in sendig mail
hi
i m faceing prolem in sending mail using smtp auth..
pls help how i wcan solve it in asp.net 3.5
ystem.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. p5sm73585pbd.44
at System.Net.Mail.MailCommand.CheckResponse(SmtpStat usCode statusCode, String response)
at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from)
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at MailService.MailService.OnTimedEventLocal(Object source, ElapsedEventArgs e)
Last edited by ronit; July 7th, 2011 at 08:32 AM..
|