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.


require_once 'NET/SMTP.php';

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


Constructor,Instantiates a new Net_SMTP object.


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 no exceptions thrown


This function can not be called statically.

Provides an implementation of the SMTP protocol (Previous) Attempt to do SMTP authentication. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.