SMTP with Apache/PHP on Windows

This is a discussion on SMTP with Apache/PHP on Windows within the Tech Board forums, part of the Community Boards category; Need your help. I'm already doing PHP scripting (it's indeed very easy and thanks everyone for the previous help). I ...

  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,581

    SMTP with Apache/PHP on Windows

    Need your help.

    I'm already doing PHP scripting (it's indeed very easy and thanks everyone for the previous help).

    I need to mail a form contents. I don't want to setup an email server just to use SMTP and I don't want to test my scripts on my web host which I consider a production machine. So I went back to IIS to setup the SMTP virtual server as localhost.

    After setting it up and changing my php.ini file the script runs without a glitch, but email is not being sent. The event log viewer seems to reveal it can't connect to the domain gmail.com (the destination address).

    My personal firewall is setup to allow outgoing connections from IIS. I didn't setup my black box firewall though as I don't see the need to make IIS Virtual SMTP Server available to the outside.

    I can enter into more details on the setup I have in place for for the IIS virtual SMTP server. But if you have any idea alrady, please let me know.

    Either that or some simple easy to use smtp server i can install on my machine.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,581
    Nevermind. Been digging around IIS and I'm having some problems with it due to a faulty .Net installation.

    Solved the problem with a very handy free tool. A sort of smtp server that listens on locahost:25 and dispatches it to my ISP; Mobile TCP
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    Well this is what I got from a quick Google search:

    http://www.softstack.com/freesmtp.html

    http://www.postcastserver.com/


    I haven't used them, but the PostCast one looks pretty professional just from a quick glance.

    By the way, PHP Freaks (at www.phpfreaks.com) has some excellent PHP forums.
    My Website

    "Circular logic is good because it is."

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,281
    Solved the problem with a very handy free tool. A sort of smtp server that listens on locahost:25 and dispatches it to my ISP; Mobile TCP
    Cool, I have only ever heard of free SMTP servers for Unix-like systems.

    By the way, PHP Freaks (at www.phpfreaks.com) has some excellent PHP forums.
    Heheh, I'm a regular on the PHPBuilder message board.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,581
    Yeah. I may have to create an account there. Thanks. This is feeling odd posting PHP related stuff on these forums.

    I've seen those two by the way. PostCast is ideal. Worked like a charm. But too much for my needs and asks for money. Freesmtp on the other hand has two problems; depends on the isp allowing port 25 (mine doesn't) and doesn't register itself as a service or move down to the tray.

    Mobile TCP solved those two problems. Thanks for the suggestions though David
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows 98/2000 programming in Windows XP
    By Bill83 in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 03:16 PM
  2. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 06:48 PM
  3. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 03:55 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 01:19 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 06:31 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21