Commit 4bc0d79a authored by Christophe Trussardi's avatar Christophe Trussardi

utilisation de Markdown

parent 9488401a
PHPMyEmail 0.4 (MAIL_PHP)
# PHPMyEmail (MAIL_PHP)
PHPMyEmail is a free secure and network capable (via SMTP protocol) alternative to mail() PHP function.
PHPMyEmail has LOGIN authententication method support and is able to manage quota based on sender email address through a MySQL table.
=========================
GET PHPMyEmail
=========================
## GET PHPMyEmail
At http://sourceforge.net/projects/phpmyemail/
Please report bugs in PHPMyEmail to
http://sourceforge.net/tracker/?group_id=207762&atid=1002979
=========================
MAINTAINERS
=========================
## MAINTAINERS
Chris <chris@teria.org>
Nickilo <nickilo@teria.org>
......@@ -31,22 +27,21 @@ This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
=========================
INSTALLATION (as root user)
=========================
## INSTALLATION (as root user)
```bash
tar -xvzf PHPMyEmail-0.4.tar.gz
cd PHPMyEmail
phpize
./configure --with-mysql
make && make install
```
Note : "--with-mysql" is optional if you want quotas using mysql
=========================
CONFIGURATION (php.ini)
=========================
## CONFIGURATION (php.ini)
```
extension=phpmyemail.so
; Enable (1) or not (0) mail quotas using mysql
......@@ -81,13 +76,14 @@ mail_php.enable_ssl="0"
mail_php.enable_debug="0"
; Automatically add current date to header (1) (if mail_php.enable_headers=0 )
mail_php.date="0"
```
=========================
QUOTAS
=========================
## QUOTAS
Quota allow to limit mail number based on source e-mail address. The database structure is :
```sql
CREATE TABLE `users` (
`uid` int(40) NOT NULL auto_increment,
`mail` varchar(70) NOT NULL default '',
......@@ -95,6 +91,7 @@ CREATE TABLE `users` (
`fait` int(10) NOT NULL default '0',
PRIMARY KEY (`uid`)
)
```
Where :
uid : is an id
......@@ -102,9 +99,7 @@ Where :
limitte : is the number of mail the user can send
fait : is the current number of mail the user has sent
=========================
USAGE
=========================
## USAGE
String mail_php(String $smtp_login, String $smtp_password, String $to, String $from, String $reply-to, String $subject, String $content [, String $smtp_server [, String $smtp_port [, String $ssl_on]] ] )
......@@ -119,9 +114,7 @@ $smtp_server (optional) : if mail_php.smtp_server="none", $smtp_server is used
$smtp_port (optional) : if mail_php.smtp_port="none", $smtp_port is used
$ssl_on (optional) : if mail_php.smtp_server="none", $ssl_on is used, default off
=========================
TEST
=========================
## TEST
A php test file named PhpMyEmail-test.php is included into the package
Please edit the file to fill up the needed varaibles.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment