PHP 4 mail() on Apache 2 on Win XP Home SP2

They have: 2 posts

Joined: May 2005

I can't get the mail() to work. I have no idea what to do? How do I set this up? Thanks! I have access to port 25. I have a feedback script and I use phpbb where I need the mail() function.

He has: 5 posts

Joined: May 2005

Dont' know if you need the script or what, pretty vauge post. If you are looking for script syntax, try this:

mail($email, $subject, $body, $headers);

Southern Maryland Real Estate | Maryland Relocation Specialist | [url=http://www.homesearch-md.com[/url]Southern Maryland Home Search[/url]

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Mail isn't going to work on a Windows machine unless you have a SMTP server configured in php.ini.

Here is some more help on that:
PHP Mail Function
More mail info

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.