Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Sending mail thr' SMTP server -not working

Sending mail thr' SMTP server -not working

Scheduled Pinned Locked Moved ASP.NET
helpsysadminsecurity
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    KIDYA
    wrote on last edited by
    #1

    Hello Experts, I sending mail using smtp server...I am using smtpclient.Host="localhost" and smtpclient.port=25 , But gives authentication error ....Tel me how will i know my smtp server name or any common host and port also... and also give error -"Property 'To' is ReadOnly." for this line msg.to = txtTo.Text Help me!!

    C 1 Reply Last reply
    0
    • K KIDYA

      Hello Experts, I sending mail using smtp server...I am using smtpclient.Host="localhost" and smtpclient.port=25 , But gives authentication error ....Tel me how will i know my smtp server name or any common host and port also... and also give error -"Property 'To' is ReadOnly." for this line msg.to = txtTo.Text Help me!!

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Have you worked through some of the many mail samples on the web ? Do you not have an email account ? Do you have an ISP ? Your SMTP details are the same as the details you put into outlook.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups