In Windows XP it is straightforward to activate IIS's SMTP server, but in Windows 7 I can't find where to do this.
I am just starting using umbraco and the add-on I have downloded and installed there is a contact page , where I need to define the info to be put into web.config.
Can Anyone tell me how to enter this information?
I need a server name, a user name and a pw.
I have not "activated" an SMTP server in Wndows 7, as I don't know where to go to do it.
Hey, looks like you'll need a third party SMPT server for Windows 7. It doesn't ship with SMTP or FTP. I would look at Blat. Here is the IIS support article.
For local testing of emails, ie to ensure your code is not broken try http://invalidlogic.com/papercut/ it does not actually send out emails just copies them to the install dir but its a good way of testing that your email code works without having to have an smtp server installed.
I can second Ismails recommendation of Papercut. Last week it came in very handy for debugging issues with an app that was sending out up to 1000 emails.
1) .NET Framework 3.5 won't install on my Windows 7 machine. Installation procedure ends with an error, it goes onto the Net to find a solution to the problem, but evidently there is none
2) I have installed the package: Creative Website Starter, and it has a contact type page that I use for sending the email. And I expect that this code is not broken.
Seting up an SMTP server at localhost
In Windows XP it is straightforward to activate IIS's SMTP server, but in Windows 7 I can't find where to do this.
I am just starting using umbraco and the add-on I have downloded and installed there is a contact page , where I need to define the info to be put into web.config.
Can Anyone tell me how to enter this information?
I need a server name, a user name and a pw.
I have not "activated" an SMTP server in Wndows 7, as I don't know where to go to do it.
Kind regards
Torben
Hey, looks like you'll need a third party SMPT server for Windows 7. It doesn't ship with SMTP or FTP. I would look at Blat. Here is the IIS support article.
http://forums.iis.net/t/1159984.aspx
Cheers,
Nik
An install of "Free SMTP Server" went well.
the web.config file requires three entries for SMTP
1) a hostname: I have used "localhost"
2) a username: don't know which to use, have tried several but with no luck
3) a password
Can anyone guide me?
Kind regards
Torben
Have uninstalled Free SMTP Server as it evidently only works with a certain mass mailer
In the MS Tech pages I found an entry explaining how to set up SMTP in Windows 7
http://technet.microsoft.com/en-us/library/cc772058(WS.10).aspx
I set up SMTP for the umbraco wesite in Features view in IIS Manager
I enter localhost, port 25, use authentication, enter a user name, enter a password , click apply
In we..config I enter the same information in the SMTP string
And what do I get when I run my site, a non-descriptive msg saying: Failure sending mail.
Now I am SO much the wiser
Torben
Torben,
For local testing of emails, ie to ensure your code is not broken try http://invalidlogic.com/papercut/ it does not actually send out emails just copies them to the install dir but its a good way of testing that your email code works without having to have an smtp server installed.
Regards
Ismail
I can second Ismails recommendation of Papercut. Last week it came in very handy for debugging issues with an app that was sending out up to 1000 emails.
Hi Ismail,
Could have been a good idea.
1) .NET Framework 3.5 won't install on my Windows 7 machine. Installation procedure ends with an error, it goes onto the Net to find a solution to the problem, but evidently there is none
2) I have installed the package: Creative Website Starter, and it has a contact type page that I use for sending the email. And I expect that this code is not broken.
Kind regards
Torben
Tim Gaunt suggested an alternative application the other day on Twitter called smtp4dev which may also help you:
http://smtp4dev.codeplex.com/
For testing you can also configure .net to dump emails into a specified directory:
is working on a reply...