SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Addict sedna's Avatar
    Join Date
    Jan 2006
    Posts
    272
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    mailserver for localtesting

    hey i was wondering if any one could help me i used to have a mail server on my windows machine however i lost it due to a reinstall and i wanted to know if anyone knows of a decent mail server for testing my php scripts on my localhost

    kind regards

    Joe

  2. #2
    SitePoint Zealot fatnic's Avatar
    Join Date
    Aug 2006
    Location
    Lincoln, UK
    Posts
    191
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try ArGoSoft Mail Server. It's free and it works for me.

  3. #3
    SitePoint Wizard stereofrog's Avatar
    Join Date
    Apr 2004
    Location
    germany
    Posts
    4,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can also write something like this in your php.ini

    Code:
    sendmail_path = php -r "file_put_contents('c:/mail.log',file_get_contents('php://stdin'),FILE_APPEND);"
    This will save all mails you're sending with mail() in the file 'mail.log'

  4. #4
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    @stereofrog, that's smart.

    Theres also fakemail by Marcus Baker.

  5. #5
    SitePoint Wizard silver trophybronze trophy Stormrider's Avatar
    Join Date
    Sep 2006
    Location
    Nottingham, UK
    Posts
    3,133
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Sorry to drag this thread up, but I am looking for something similar that will work on windows - just something to test email sending, without sending them out. I'm sure I've seen something like it before, but can't seem to find anything on it.

    Any help would be appreciated!

    Cheers,

    Chris

  6. #6
    SitePoint Enthusiast
    Join Date
    Oct 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wow!

    Thanks guys, been writing PHP for some years now and all I do is

    @mail(); ! or @$this->Send()!

    Next Level !

  7. #7
    SitePoint Enthusiast
    Join Date
    Oct 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    stereofrog, not working for me.

  8. #8
    SitePoint Evangelist praetor's Avatar
    Join Date
    Aug 2005
    Posts
    479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm using hMailer for testing.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •