Can you send mail from the command line?

If you're running sendmail:

$ sendmail [EMAIL PROTECTED]
this is a test

If that goes through OK then I'd have a look at your script for bugs. If it
doesn't I'd have a look at your :-)


-----Original Message-----
From: Moise Bertrand TACHAGO [mailto:[EMAIL PROTECTED]]
Sent: 05 September 2001 12:32
Subject: [PHP] lynx and mail function

i use lynx to run from linux command line a php function which have to
send mail to somebody.
The function is running but the mail is not send.
Can somebody tell me why and how to do it please?
Thanks in advance
This is the command line
lynx  myfunction.php

'The information included in this Email is of a confidential nature and is 
intended only for the addressee. If you are not the intended addressee, 
any disclosure, copying or distribution by you is prohibited and may be 
unlawful. Disclosure to any party other than the addressee, whether 
inadvertent or otherwise is not intended to waive privilege or confidentiality'


PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to