library/Dot/Email/Smtp.php
Properties
Description
DotBoost Technologies Inc.
DotKernel Application Framework
Classes
Dot_Email_Smtp
Properties
No
No
Description
Alternate SMTP server mail() class
Methods
__construct,
_getSmtp,
_updateSmtpCounter,
getTransport,
__construct(
string
$to
= null,
string
$fromName
= null,
string
$fromEmail
= null,
string
$subject
= null,
)
:
Dot_Email_Smtp
Description
Email constructor
Arguments
| Name |
Type |
Description |
Default |
| $to |
string |
[optional] |
null |
| $fromName |
string |
[optional] |
null |
| $fromEmail |
string |
[optional] |
null |
| $subject |
string |
[optional] |
null |
Return value
Tags
| Name |
Description |
| access |
public |
_getSmtp(
)
:
array
Description
Get the current SMTP info for sending the email
Return value
Tags
| Name |
Description |
| access |
private |
_updateSmtpCounter(
int
$id,
)
:
void
Description
Update the counter of the current transporter.
Arguments
| Name |
Type |
Description |
Default |
| $id |
int |
|
|
Return value
Tags
| Name |
Description |
| access |
private |
getTransport(
)
:
Zend_Mail_Transport_Smtp
Description
Return the transporter
Return value
| Type |
Description |
| Zend_Mail_Transport_Smtp |
|
Tags
| Name |
Description |
| access |
public |