XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
__construct () | |
AddrFormat ($addr) | |
Send () | |
SetLanguage ($lang_type='en', $lang_path='language/') | |
Data Fields | |
$From = '' | |
$FromName = '' | |
$Mailer = 'mail' | |
$Sendmail = '/usr/sbin/sendmail' | |
$Host = '' | |
$SMTPAuth = false | |
$Username = '' | |
$Password = '' | |
Mailer Class
If you have problems sending mail with "mail()", you can edit the member variables to suit your setting. Login to administration and edit the settings through the admin panel. Administration »» Dashboard »» Settings »» Preferences »» Mail Setup
Definition at line 34 of file xoopsmultimailer.php.
__construct | ( | ) |
Constuctor
@access public
@global $xoopsConfig
Definition at line 120 of file xoopsmultimailer.php.
AddrFormat | ( | $addr | ) |
Formats an address correctly. This overrides the default AddrFormat method which does not seem to encode $FromName correctly This method name is renamed from "addr_format", because method name in parent class is renamed. @access private
$addr |
Definition at line 154 of file xoopsmultimailer.php.
Send | ( | ) |
Override PHPMailer Send() Add verification whether Sender property contains correct mail format.
Definition at line 170 of file xoopsmultimailer.php.
SetLanguage | ( | $lang_type = 'en', | |
$lang_path = 'language/' ) |
Sets the language for all class error messages. Returns false if it cannot load the language file. The default language type is English.
string | $lang_type | Type of language (e.g. Portuguese: "br") |
string | $lang_path | Path to the language file directory @access public |
Definition at line 190 of file xoopsmultimailer.php.
$From = '' |
Definition at line 42 of file xoopsmultimailer.php.
$FromName = '' |
Definition at line 49 of file xoopsmultimailer.php.
$Host = '' |
Definition at line 85 of file xoopsmultimailer.php.
$Mailer = 'mail' |
Definition at line 66 of file xoopsmultimailer.php.
$Password = '' |
Definition at line 110 of file xoopsmultimailer.php.
$Sendmail = '/usr/sbin/sendmail' |
Definition at line 76 of file xoopsmultimailer.php.
$SMTPAuth = false |
Definition at line 92 of file xoopsmultimailer.php.
$Username = '' |
Definition at line 101 of file xoopsmultimailer.php.