LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-22-2003, 06:02 AM   #1
Hdata
LQ Newbie
 
Registered: Dec 2002
Location: Europe, Sweden, Värmland, Kil
Distribution: Internet :)
Posts: 9

Rep: Reputation: 0
Question Using the PHP mail() Function !?!?


I have made a form on mu webpage and when submitting there is another php document that handles the data...

By using the mail () function I tried to send an email to myself but no matter how hard I tried with different code no mail came...

The code looks like this:
<?php

$to = "my@email.com";
$subject = "test";
$message = "just a testmessage";

mail( $to, $subject, $message ) or print "Could not send mail";

?>

My Server is a RedHat 9 Linux Server. I found some texts telling me that UNIX systems uses Sendmail instead and that I needed to configure this?
Well how do I do that and do I need to do that?

Thx for answering...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP !!! php mail function akamaru607 Programming 22 08-26-2005 02:44 PM
PHP Mail and Foreach function Gerardoj Programming 6 10-08-2004 05:24 PM
sendmail and PHP mail() function tudekoen Debian 1 05-09-2004 03:53 AM
sendmail and PHP mail() function tudekoen Linux - Software 0 05-08-2004 04:45 PM
PHP - mail function saravanan1979 Programming 2 08-06-2003 01:46 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration