Dotclear 2.25
Loading...
Searching...
No Matches
mail Class Reference

Email utilities. More...

Static Public Member Functions

static getMX (string $host)
 
static B64Header (string $str, string $charset='UTF-8')
 

Detailed Description

Email utilities.

Member Function Documentation

◆ getMX()

static getMX ( string  $host)
static

Get Host MX

Returns MX records sorted by weight for a given host.

Parameters
string$hostHostname
Returns
array|false

Referenced by socketMail\mail().

◆ B64Header()

static B64Header ( string  $str,
string  $charset = 'UTF-8' 
)
static

B64 header

Encodes given string as a base64 mail header.

Parameters
string$strString to encode
string$charsetCharset (default UTF-8)
Returns
string

Referenced by adminAuth\process().


The documentation for this class was generated from the following file: