View Post for Anything else Email and .NET Related



[ Reply to Post ] [ Back To Forum ]
From: "dave" <djvandam ( at ) oakland dot edu>
Date: 12/4/2007 3:20:57 PM
Subject: Sending Email in ASP.NEt 2.0 policy rejection
Someone please help! I cant get an email to send off of the server and I keep getting the following error


Error:System.Net.Mail.SmtpException: Transaction failed. The server response was: Mail from djvandam@oakland.edu rejected for policy reasons.
at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode 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 ECAP.Utilities.Email.Send() in c:\Inetpub\wwwroot\NorthCentralIMASPortal\AccessRequest\App_Code\Email.cs:line 122


does anyone know what this means? how to prevent it? or how to check the smtpstatuscode to see which error you are exactally getting?? ANY HELP PLEASE!!

 

 

 



Thread View

Subject By Date
Sending Email in ASP.NEt 2.0 policy rejection [ you are here ] dave 12/4/2007
   RE: Sending Email in ASP.NEt 2.0 policy rejection dave wanta 12/4/2007
     RE: Sending Email in ASP.NEt 2.0 policy rejection dave 12/4/2007
       RE: Sending Email in ASP.NEt 2.0 policy rejection dave wanta 12/5/2007
   RE: Sending Email in ASP.NEt 2.0 policy rejection dsdsdsd 7/6/2010
     RE: Sending Email in ASP.NEt 2.0 policy rejection dave wanta 7/6/2010
       help nick 12/29/2010
   RE: Sending Email in ASP.NEt 2.0 policy rejection elnur 12/23/2013