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. General Programming
  3. C#
  4. Sending emails from windows application on windows7

Sending emails from windows application on windows7

Scheduled Pinned Locked Moved C#
comsysadminwindows-adminsecurity
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.
  • G Offline
    G Offline
    gottimukkala
    wrote on last edited by
    #1

    Hi I was trying to create a windows application that sends emails. Recently I installed windows 7 on my machine and added the IIS from the windows add/remove components. When my application tries to send email with smtp.send() method, I am always getting SMTP host was not specified. I read in the internet that windows 7 does not come with SMTP server so I installed SMTP server from hMailServer.com and tried. Now I am getting SMTP authentication fails. Does anyone have have problems with windows 7. Any Ideas please. Thanks.

    -- http://ashakthi.blogspot.com http://kids-articles.blogspot.com

    D 1 Reply Last reply
    0
    • G gottimukkala

      Hi I was trying to create a windows application that sends emails. Recently I installed windows 7 on my machine and added the IIS from the windows add/remove components. When my application tries to send email with smtp.send() method, I am always getting SMTP host was not specified. I read in the internet that windows 7 does not come with SMTP server so I installed SMTP server from hMailServer.com and tried. Now I am getting SMTP authentication fails. Does anyone have have problems with windows 7. Any Ideas please. Thanks.

      -- http://ashakthi.blogspot.com http://kids-articles.blogspot.com

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      This has nothing to do with Windows 7. You need to consult the documentation on the STMP server you're using and properly set the thing up. You also need to provide credentials in your code to login to the SMTP so it can send your email.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      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