RE: [PHP-GENERAL] mail function for qmail
| From: | Andrew McRobert | Date: | Fri, 23 Jun 2000 05:47:24 +0000 |
| Subject: | RE: [PHP-GENERAL] mail function for qmail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2738@lists.php.net to get a copy of this message | ||
hi
i'm not sure if this is exactly what you are after, but check out the
vmailmgr function:
"LVI. Vmailmgr functions
These functions require qmail and the vmailmgr package by Bruce Guenter.
For all functions, the following two variables are defined as: string
vdomain the domain name of your virtual domain (vdomain.com) string basepwd
the password of the 'real' user that holds the virtual users
Only up to 8 characters are recognized in passwords for virtual users
Return status for all functions matches response in response.h
O ok
1 bad
2 error
3 error connecting
Known problems: vm_deluser() does not delete the user directory as it
should. vm_addalias() currently does not work correctly.
<?php
dl("php3_vmailmgr.so"); //load the shared library
$vdomain="vdomain.com";
$basepwd="password";
?>
Table of Contents
vm_adduser Add a new virtual user with a password
vm_addalias Add an alias to a virtual user
vm_passwd Changes a virtual users password
vm_delalias Removes an alias
vm_deluser Removes a virtual user"
tks
Andrew
-----Original Message-----
From: Mark Lo [mailto:markloky@netvigator.com]
Sent: Friday, June 23, 2000 1:43 PM
To: php-general
Subject: [PHP-GENERAL] mail function for qmail
Hi,
How to use mail () with q-mail. ?? I mean what do i have to
change for php mail function to work with q-mail ??
Thank you for your help
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net