constructor Net_SMTP::Net_SMTP

constructor Net_SMTP::Net_SMTP() – Instantiates a new Net_SMTP object, overriding any networkings with parameters that are passed in.

Synopsis

require_once 'NET/SMTP.php';

void constructor Net_SMTP::Net_SMTP ( string $host = null , int $port = null , string $localhost = null )

Description

Constructor,Instantiates a new Net_SMTP object.

Parameter

string $host

The server to connect to.

integer $port

The port to connect to.

string $localhost

The value to give when sending EHLO or HELO.

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Introduction and Guide (Previous) Net_SMTP::auth (Next)
Last updated: Tue, 02 Jun 2009 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.