# PHP Form Mailer doesn't work?

**URL:** https://forum.kirupa.com/t/php-form-mailer-doesnt-work/312635
**Category:** Uncategorized
**Created:** [August 9, 2010, 6:07pm UTC](https://forum.kirupa.com/t/php-form-mailer-doesnt-work/312635 "2010-08-09T18:07:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mbshrbwj](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@mbshrbwj](https://forum.kirupa.com/u/mbshrbwj)
#### Post date: [August 9, 2010, 6:07pm UTC](https://forum.kirupa.com/t/php-form-mailer-doesnt-work/312635/1 "2010-08-09T18:07:30Z")

</div>

I am a complete newbie at this, but I really want to make it work.  
SO I used the [PHP Form Mailer Tutorial](http://www.kirupa.com/web/form_mailer.htm) at the Kirupa website to make a form. I edited it according to my needs and set it up to run with WAMP to test it. But, when i fill in the form and submit it, it doesnt mail me the form.

Can anyone help?

EDIT: this is the error i get when i try to run it in WAMP:

> Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp\_port” setting in php.ini or use ini\_set() in \<file location on disk\> on line 26
