Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Torben Rügge 27 posts 47 karma points
    Sep 16, 2009 @ 23:18
    Torben Rügge
    0

    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

  • Nik Wahlberg 639 posts 1237 karma points MVP
    Sep 16, 2009 @ 23:26
    Nik Wahlberg
    0

    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

  • Torben Rügge 27 posts 47 karma points
    Sep 27, 2009 @ 12:18
    Torben Rügge
    0

    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

  • Torben Rügge 27 posts 47 karma points
    Sep 27, 2009 @ 17:26
    Torben Rügge
    0

    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

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Sep 28, 2009 @ 10:59
    Ismail Mayat
    0

    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

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Sep 28, 2009 @ 12:32
    Simon Dingley
    0

    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.

  • Torben Rügge 27 posts 47 karma points
    Sep 28, 2009 @ 12:38
    Torben Rügge
    0

    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

     

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Sep 30, 2009 @ 12:59
    Simon Dingley
    0

    Tim Gaunt suggested an alternative application the other day on Twitter called smtp4dev which may also help you:

    http://smtp4dev.codeplex.com/

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Apr 16, 2011 @ 14:46
    Darren Ferguson
    2

    For testing you can also configure .net to dump emails into a specified directory:

     <smtp deliveryMethod="specifiedPickupDirectory">
           <specifiedPickupDirectory
             pickupDirectoryLocation="c:\temp"
            />
          </smtp>

Please Sign in or register to post replies

Write your reply to:

Draft