Sending emails from windows application on windows7
-
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
-
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
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...