Re: Where to set return-path for virtualhosts
| From: | Richard Lynch | Date: | Wed, 24 Jul 2002 02:56:31 +0000 |
| Subject: | Re: Where to set return-path for virtualhosts | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-109226@lists.php.net to get a copy of this message | ||
>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 address@domain.com"
>
>Can anyone give me a hint? Please CC me as I am not currently subscribed.
<?php
$headers = "From: joe@jwebmedia.com\r\n";
$headers .= "Reply-to: joe@jwebmedia.com\r\n";
$success = mail('joe@jwebmedia.com', '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.