File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark "Simple Mail In PHP" Watch "Simple Mail In PHP" New topic
Author

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

Thanks
Arpit
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

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: http://aspose.com/file-tools
 
subject: Simple Mail In PHP