Page 1 of 1

mail() function of PHP

PostPosted: 01. August 2009 05:32
by Red Dragon
Hi
I put a forum up on my web site and i can't send emails with the mail() function of PHP. How do i get it to work?

Re: mail() function of PHP

PostPosted: 01. August 2009 20:11
by caltuna
Red Dragon wrote:Hi
I put a forum up on my web site and i can't send emails with the mail() function of PHP. How do i get it to work?


You get it to work by coding it correctly. Show us your code you are using.

There are a million web pages that show you how to use mail out of PHP on Linux so Google for one.

Start here: http://www.php.net/manual/en/function.mail.php

See this too: http://www.php.net/manual/en/function.mail.php

Re: mail() function of PHP

PostPosted: 01. August 2009 20:50
by Red Dragon
where would the could be?

Re: mail() function of PHP

PostPosted: 01. August 2009 22:18
by caltuna
Red Dragon wrote:where would the could be?


I think you want to address your question to the people who made the web-forum that you installed. If the forum runs on XAMPP, than it is not a XAMPP issue that you have. You might also want to ask the hosting ISP about how to mail out of their server.

Re: mail() function of PHP

PostPosted: 01. August 2009 23:46
by Red Dragon
well the forum has a stmp option so I'll use it with my outgoing email