Menu

## Email extends BaseConfig
in package

Email.php : 7

### Table of Contents

#### Properties

$BCCBatchMode : bool
  Enable BCC Batch Mode.
$BCCBatchSize : int
  Number of emails in each BCC batch
$charset : string
  Character set (utf-8, iso-8859-1, etc.)
$CRLF : string
  Newline character. (Use “\r\n” to comply with RFC 822)
$DSN : bool
  Enable notify message from server
$fromEmail : string
$fromName : string
$mailPath : string
  The server path to Sendmail.
$mailType : string
  Type of mail, either 'text' or 'html'
$newline : string
  Newline character. (Use “\r\n” to comply with RFC 822)
$priority : int
  Email Priority. 1 = highest. 5 = lowest. 3 = normal
$protocol : string
  The mail sending protocol: mail, sendmail, smtp
$recipients : string
$SMTPCrypto : string
  SMTP Encryption.
$SMTPHost : string
  SMTP Server Hostname
$SMTPKeepAlive : bool
  Enable persistent SMTP connections
$SMTPPass : string
  SMTP Password
$SMTPPort : int
  SMTP Port
$SMTPTimeout : int
  SMTP Timeout (in seconds)
$SMTPUser : string
  SMTP Username
$userAgent : string
  The "user agent"
$validate : bool
  Whether to validate the email address
$wordWrap : bool
  Enable word-wrap
$wrapChars : int
  Character count to wrap at

### Properties

#### $BCCBatchMode

Email.php : 110

Enable BCC Batch Mode.

`public bool $BCCBatchMode = false`

#### $BCCBatchSize

Email.php : 115

Number of emails in each BCC batch

`public int $BCCBatchSize = 200`

#### $charset

Email.php : 85

Character set (utf-8, iso-8859-1, etc.)

`public string $charset = 'UTF-8'`

#### $CRLF

Email.php : 100

Newline character. (Use “\r\n” to comply with RFC 822)

`public string $CRLF = "\r\n"`

#### $DSN

Email.php : 120

Enable notify message from server

`public bool $DSN = false`

#### $fromEmail

Email.php : 9
`public string $fromEmail = ''`

#### $fromName

Email.php : 10
`public string $fromName = ''`

#### $mailPath

Email.php : 26

The server path to Sendmail.

`public string $mailPath = '/usr/sbin/sendmail'`

#### $mailType

Email.php : 80

Type of mail, either 'text' or 'html'

`public string $mailType = 'text'`

#### $newline

Email.php : 105

Newline character. (Use “\r\n” to comply with RFC 822)

`public string $newline = "\r\n"`

#### $priority

Email.php : 95

Email Priority. 1 = highest. 5 = lowest. 3 = normal

`public int $priority = 3`

#### $protocol

Email.php : 21

The mail sending protocol: mail, sendmail, smtp

`public string $protocol = 'mail'`

#### $recipients

Email.php : 11
`public string $recipients = ''`

#### $SMTPCrypto

Email.php : 65

SMTP Encryption.

`public string $SMTPCrypto = 'tls'`

'', 'tls' or 'ssl'. 'tls' will issue a STARTTLS command to the server. 'ssl' means implicit SSL. Connection on port 465 should set this to ''.

#### $SMTPHost

Email.php : 31

SMTP Server Hostname

`public string $SMTPHost = ''`

#### $SMTPKeepAlive

Email.php : 56

Enable persistent SMTP connections

`public bool $SMTPKeepAlive = false`

#### $SMTPPass

Email.php : 41

SMTP Password

`public string $SMTPPass = ''`

#### $SMTPPort

Email.php : 46

SMTP Port

`public int $SMTPPort = 25`

#### $SMTPTimeout

Email.php : 51

SMTP Timeout (in seconds)

`public int $SMTPTimeout = 5`

#### $SMTPUser

Email.php : 36

SMTP Username

`public string $SMTPUser = ''`

#### $userAgent

Email.php : 16

The "user agent"

`public string $userAgent = 'CodeIgniter'`

#### $validate

Email.php : 90

Whether to validate the email address

`public bool $validate = false`

#### $wordWrap

Email.php : 70

Enable word-wrap

`public bool $wordWrap = true`

#### $wrapChars

Email.php : 75

Character count to wrap at

`public int $wrapChars = 76`

## Search results