My favorites | Sign in
Project Logo
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/**
* php-smtp
*
* @author Jason Johnson <jason@php-smtp.org>
* @copyright Copyright (c) 2008, Jason Johnson
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
* @version 1.0
* @package php-smtp
*/

require_once 'SMTP.php';

/**
* Create an instance of the API
*/
$api = new SMTP_Server_API();


/**
* Include user-defined callbacks
*/
require_once 'callbacks.php';


/**
* Start an instance of the server
*/
$server = new SMTP_Server();
$server->run();
?>
Show details Hide details

Change log

r24 by spligak on Apr 10, 2008   Diff
Added a basic API infrastructure and a
little more housecleaning
Go to: 
Project members, sign in to write a code review

Older revisions

r14 by spligak on Apr 08, 2008   Diff
Entry points for both the incoming
server and outgoing relay. Also, a
bootstrap script to get both running
with one command.
All revisions of this file

File info

Size: 503 bytes, 31 lines
Hosted by Google Code