[PHP] Sending email when sendmail_from sendmail_path = null.

2005-01-30 Thread Tim Burgan
Hello,
My client's web host's PHP configuration for both sendmail_from and 
sendmail_path are both = null.

How do I send email with PHP? What options do I need to set within my 
code, and what to?

Tim


Re: [PHP] Sending email when sendmail_from sendmail_path = null.

2005-01-30 Thread Richard Lynch
Tim Burgan wrote:
 My client's web host's PHP configuration for both sendmail_from and
 sendmail_path are both = null.

 How do I send email with PHP? What options do I need to set within my
 code, and what to?

Not sure you can...

You might try using .htaccess to set things like:
php_value sendmail_path /usr/bin/sendmail -t -i

It may be that your host doesn't WANT you sending PHP email...

You then might be able to connect to another server with SMTP to send email.

Another possibility is to use PHP's IMAP functions to create emails in
your own Outbox, and then your regular mail usage to send them...

-- 
Like Music?
http://l-i-e.com/artists.htm

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