Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Windows smtp server for php scripts?

  • 22-03-2008 11:13PM
    #1
    Registered Users, Registered Users 2 Posts: 23


    Hi everyone,
    I'm trying to send emails from a php script (contact form style) but i dont have an smtp server set up on my local machine i was wondering if anyone could tell me how to set up an smtp server on my local machine that would work for php, I have a windows xp machine. I have tried a number of smtp servers but none seem to work can anyone help?


Comments

  • Registered Users, Registered Users 2 Posts: 5,518 ✭✭✭axer


    Have you tried PHP SMTP Server for Windows. Have never used it myself so don't know what the story is with it.


  • Closed Accounts Posts: 72 ✭✭fatjose101


    i also have the same problem.

    I installed php smtp server for windows but when i try sending the mail i get this error

    Warning: mail() [function.mail]: SMTP server response: 515 can not connect to gsmtp147.google.com ! ! in C:\xampp\htdocs\xampp\processEmail.php on line 14
    response=passed

    PLEASE CAN SOMEBODY HELP ME!


  • Registered Users, Registered Users 2 Posts: 68,173 ✭✭✭✭seamus


    The defaul IIS install includes an SMTP server. If you're running XP Pro, you can install IIS for free.

    If you actually want the mail function to work, just configure the IIS SMTP server to forward all mail to your ISPs mail server.


  • Posts: 1,882 ✭✭✭ [Deleted User]


    I've heard good things about Mercury mail but I've never used it.


  • Registered Users, Registered Users 2 Posts: 6,733 ✭✭✭daymobrew


    fatjose101 wrote: »
    i also have the same problem.

    I installed php smtp server for windows but when i try sending the mail i get this error

    Warning: mail() [function.mail]: SMTP server response: 515 can not connect to gsmtp147.google.com ! ! in C:\xampp\htdocs\xampp\processEmail.php on line 14
    response=passed
    I use sendmail for Windows that is part of XAMPP. It allows me to use my email provider's SMTP server and even authenticates me first.
    You might be having authentication issues as I think your 'from' address is gmail.com (IIRC this thread was posted in another boards.ie forum) and maybe google.com is being contacted for authentication.


  • Advertisement
Advertisement
Advertisement