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:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 11:48 AM
To: [EMAIL PROTECTED]
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('[EMAIL PROTECTED]', '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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]