>I saw a comment in the online docs about setting the return-path for
>sendmail for virtualhosts. However, the note did not say WHERE to put the
>line - I attempted to put it into apache's virtual host tag and that failed.
>The line was:
>
>php_admin_value return-path "/usr/sbin/sendmail -t -i -f [EMAIL PROTECTED]"
>
>Can anyone give me a hint? Please CC me as I am not currently subscribed.

<?php
  $headers = "From: [EMAIL PROTECTED]\r\n";
  $headers .= "Reply-to: [EMAIL PROTECTED]\r\n";
  $success = mail('[EMAIL PROTECTED]', 'Talking...', '...to myself',
$headers);
  if ($success){
    echo "Queued email.<BR>\n";
  }
  else{
    echo "Sendmail refused to queue my email!<BR>\n";
  }
?>

-- 
Like Music?  http://l-i-e.com/artists.htm
I'm looking for a PRO QUALITY two-input sound card supported by Linux (any
major distro).  Need to record live events (mixed already) to stereo
CD-quality.  Soundcard Recommendations?
Software to handle the recording? Don't need fancy mixer stuff.  Zero (0)
post-production time.  Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo
audio-to-disk.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to