Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
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
 
Similar Threads
sending mail through servlet using java mail api
could servlet include the jsp,html files???
Problem with my jsp compilation/Java mail
the mails are goes to Badmail folder of the host
Email with jsp