Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7784207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:03:30+00:00 2026-06-01T20:03:30+00:00

I know this question has been asked several times, however, after digging through question

  • 0

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

this is the 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 + "<img style=\"text-align: center;\" src=cid:companylogo><br/>", 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);

I have tried authenticating in the web.config as well

  <smtp>
    <network host="192.000.0.001"
             userName="administrator@%^##.com"
             password="!@#$%^" port="25" />
  </smtp>

SBS 2008
Exchange 2007
IIS 7 SP2

I have tried different settings in the IIS SMTP Email settings and Exchange Send Connector.

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. Related Question

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T20:03:30+00:00Added an answer on June 1, 2026 at 8:03 pm

    I eventually found the answer to this was related to how the exchange server had been setup. SMTP did not work for any of the account however when I deleted the account and recreated it resolved the problem. I think it had something to do with a badly executed import.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this question has been asked many times and after going through posts,
I know that this question has been asked several times and I've read all
I know this question has been asked several times, but I can't quite seem
Ok, so I know this question has been asked in different forms several times,
Yes, I know this question has been asked dozens of times before. However, when
I know this question has been asked several times and I read those with
I know this question has been asked quite a few times, however, I have
I know this question has been asked several times on SO, but none of
First, I know this question has been asked several times before and that in
I know this question has been asked several times for sure, but I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.