Inherited Variables
Inherited Constants
Inherited Methods
Class Details
SMTP_Server
Tags:
- author - Jason Johnson <jason@php-smtp.org>
- version - 1.0
- copyright - Copyright (c) 2008, Jason Johnson
- license - The MIT License
[ Top ]
Class Variables
$host
[line 14]
Type: mixed
Overrides:
[ Top ]
$port
[line 15]
Type: mixed
Overrides:
[ Top ]
$remote
[line 16]
Type: mixed
Overrides:
[ Top ]
$socket
[line 13]
Type: mixed
Overrides:
[ Top ]
Class Methods
SMTP_Server
SMTP_Server SMTP_Server(
[string
$host = '127.0.0.1'], [int
$port = 25])
[line 24]
Constructor, no required parameters if binding to the localhost interface.
Parameters:
- string $host - IP address to bind the server to, defaults to 127.0.0.1
- int $port - Port to user on the specified host address, defaults to 25
[ Top ]
run
void run(
)
[line 37]
Enters an infinite loop and listens for new connections from remote hosts.
Parameters:
[ Top ]