lib/ezutils/classes/ezmail.php
File containing the eZMail class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- lib
- Version
- 4.6.0
\eZMail
Package: lib
File containing the eZMail class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Version
- 4.6.0
Constants

REGEXP
= '(((\"[^\"\f\n\r\t\v\b]+\")|([A-Za-z0-9_\!\#\$\%\&\'\*\+\-\~\/\^\`\|\{\}]+(\.[A-Za-z0-9_\!\#\$\%\&\'\*\+\-\~\/\^\`\|\{\}]+)*))@((\[(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))\])|(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))|((([A-Za-z0-9\-])+\.)+[A-Za-z\-]{2,})))'
Properties


\ezcMail
$Mail= ''
Contains an object of type ezcMail, which is used to store the mail elements like subject, to, from, body etc, instead of using the existing class variables ($Subject, $From, $receiversElements, $BodyText etc).
Details
- Type
- \ezcMail
Methods


addExtraHeader(
$headerName, $headerValue
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$headerName | ||
$headerValue |


composeEmailItems(
$items, $join
=
true, $key
=
false, $convert
=
true
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$items | ||
$join | ||
$key | ||
$convert |


composeEmailName(
$item, $key
=
false, $convert
=
true
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$item | ||
$key | ||
$convert |


extractEmail(
$text, $email, $name
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$text | ||
$name |


setContentType(
$type
=
false, $charset
=
false, $transferEncoding
=
false, $disposition
=
false, $boundary
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$type | ||
$charset | ||
$transferEncoding | ||
$disposition | ||
$boundary |


setExtraHeader(
$headerName, $headerValue
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$headerName | ||
$headerValue |