File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes PHP and the fly likes Simple Mail In PHP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » PHP
Bookmark "Simple Mail In PHP" Watch "Simple Mail In PHP" New topic

Simple Mail In PHP

Arpit Gadle
Ranch Hand

Joined: Dec 16, 2008
Posts: 69

Dear All,
I am PHP newbie. I had installed XAMPP on my system and wants to send a test mail. I had done the following changes to php.ini

and here is the test mail php script

I am not getting any output from either of the if-else block

Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 430

I'm not really a PHP programmer, but hasn't got this line

to be
Beside that: your local mail-server is configured correctly? Are there any messages in your log-file? If you don't find your log-file, execute phpinfo(); and have a look at the values of "error_log", "display_errors" and "log_errors".

Hope that helps.
I agree. Here's the link:
subject: Simple Mail In PHP
It's not a secret anymore!