[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-general
Subject:    Re: [PHP] Sending email when sendmail_from & sendmail_path = null.
From:       "Richard Lynch" <ceo () l-i-e ! com>
Date:       2005-01-31 3:08:57
Message-ID: 4750.216.80.110.145.1107140937.squirrel () www ! l-i-e ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic