Note that there are some explanatory texts on larger screens.

plurals
  1. POMailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender
    primarykey
    data
    text
    <p>I know this question has been asked several times, however, after digging through question for past hour an half and not finding any resolution i'm at a bit of a dead end. Also most of these questions refer to Window Server 2000 / Exchange 2003 / IIS 6.0</p> <p>this is the code:</p> <pre><code> var mail = new MailMessage(); mail.From = new MailAddress("Administrator@$#@!.com"); mail.To.Add(to); mail.Subject = subject; var plainView = AlternateView.CreateAlternateViewFromString(body, null, "text/plain"); var htmlView = AlternateView.CreateAlternateViewFromString(body + "&lt;img style=\"text-align: center;\" src=cid:companylogo&gt;&lt;br/&gt;", null, "text/html"); ServicePointManager.ServerCertificateValidationCallback = delegate(object s, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) { return true; }; var path = Server.MapPath(@"logo.jpg"); var logo = new LinkedResource(path) {ContentId = "companylogo"}; htmlView.LinkedResources.Add(logo); mail.AlternateViews.Add(plainView); mail.AlternateViews.Add(htmlView); var smtpClient = new SmtpClient(); smtpClient.EnableSsl = true; System.Net.NetworkCredential("Administrator@$#@!.com", "!@#$%^"); smtpClient.Send(mail); </code></pre> <p>I have tried authenticating in the web.config as well</p> <pre><code> &lt;smtp&gt; &lt;network host="192.000.0.001" userName="administrator@%^##.com" password="!@#$%^" port="25" /&gt; &lt;/smtp&gt; </code></pre> <p>SBS 2008 Exchange 2007 IIS 7 SP2</p> <p>I have tried different settings in the IIS SMTP Email settings and Exchange Send Connector.</p> <p>I noticed some other posts had mentioned changing SMTP Virtual settings using IIS 6 manager however I am unable to view these settings in IIS 6. ex. <a href="https://stackoverflow.com/questions/3165721/mailbox-unavailable-the-server-response-was-5-7-1-unable-to-relay-for-abcxyz">Related Question</a></p> <p>I know this is not a question that can be directly answered, however, any input in how I can go about effectively troubleshooting this issue.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload