Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple Mail In PHP

 
Arpit Gadle
Ranch Hand
Posts: 69
Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic