RE: [PHP-DB] mail server
| From: | Michael J. Upchurch | Date: | Wed, 07 Mar 2001 18:14:29 +0000 |
| Subject: | RE: [PHP-DB] mail server | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7165@lists.php.net to get a copy of this message | ||
The function ini.set() should be the one to use, but it doesn't set all
options for security reasons. See
http://www.php.net/manual/en/function.ini-set.php
for details. You should
also check the annotations for email functions for other options.
Michael J. Upchurch
Partner2Partner Communications, LLC
-----Original Message-----
From: Free Beachler [mailto:bfree1@uswest.net]
Sent: Wednesday, March 07, 2001 11:48 AM
To: php-db@lists.php.net
Subject: [PHP-DB] mail server
hi all,
is there any way i can specify my own smtp server and override the
php.ini file? i want to use
the mail command on my host and i keep getting this error:
Warning: Unknown error in
D:\inetpub\nextepmedia\www\nexteplaunch\test_email.php on line 2
------------
i just have a simple php file with a mail command to mail to me, something
like:
mail('bfree1@uswest.net', 'test email', 'line1\nline2\line3');
------------
anyway, i'm on this NT host and they're not that good. instead of having
them go into their php.ini file and see what's wrong i want to set my own
server (in the script) to point to our host's SMTP server.
-f
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net