Sending email: SMTP name no match error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Janice Hui
    New Member
    • Feb 2010
    • 16

    #1

    Sending email: SMTP name no match error

    Currently i am doing my system with the form application.
    In my system, i need to make an email function.

    Then, I try to use smtp but i get an error message about "SMTP name no match". is that i miss of some important part?

    Or, Is that any way for me to do it?
    Do i need to add any reference in order to make it works?
  • Monomachus
    Recognized Expert New Member
    • Apr 2008
    • 127

    #2
    Originally posted by Janice Hui
    Hi,

    Currently i am doing my system with the form application.
    In my system, i need to make an email function.

    Then, I try to use smtp but i get an error message about "SMTP name no match". is that i miss of some important part?

    Or, Is that any way for me to do it?
    Do i need to add any reference in order to make it works?

    Thank you!

    Regards,
    Janice.
    First of all show us any code that gave you that error. Secondly. Try to see if this link helps you Sending email through System.Net.Mail .Smtpmail in asp.net 3.5/2.0

    And this for Windows Forms Send email from Windows Form using System.Net.Mail with C# coding

    Comment

    • tlhintoq
      Recognized Expert Specialist
      • Mar 2008
      • 3532

      #3
      The MSDN page for sending mail is...
      http://msdn.microsoft.com/en-us/libr...mtpclient.aspx

      We do try to point people to the MSDN site before sending them to other forums - when we can.

      Comment

      Working...