-
Notifications
You must be signed in to change notification settings - Fork 35
XoopsMailerLocal
Raimondas Rimkevičius edited this page Mar 9, 2020
·
1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!
Mailer Class.
- Class name: XoopsMailerLocal
- Namespace:
- Parent class: icms_messaging_EmailHandler
public string $From
"from" address
- Visibility: public
public string $FromName
"from" name
- Visibility: public
public string $Mailer = mail
Method to be used when sending the mail.
This can be:
- Visibility: public
public string $Sendmail = /usr/sbin/sendmail
set if $Mailer is "sendmail"
Only used if $Mailer is set to "sendmail". Contains the full path to your sendmail program or replacement.
- Visibility: public
public string $Host
SMTP Host.
Only used if $Mailer is set to "smtp"
- Visibility: public
public string $SMTPSecure
Sets connection prefix.
Options are "", "ssl" or "tls"
- Visibility: public
public bool $SMTPAuth = \false
Does your SMTP host require SMTPAuth authentication?
- Visibility: public
public string $Username
Username for authentication with your SMTP host.
Only used if $Mailer is "smtp" and $SMTPAuth is TRUE
- Visibility: public
public string $Password
Password for SMTPAuth.
Only used if $Mailer is "smtp" and $SMTPAuth is TRUE
- Visibility: public
public bool $Port = 25
Sets default SMTP Port to use?
- Visibility: public
void icms_messaging_EmailHandler::__construct()
Constuctor
- Visibility: public
- This method is defined by icms_messaging_EmailHandler
mixed icms_messaging_EmailHandler::encodeFromName(mixed text)
- Visibility: public
- This method is defined by icms_messaging_EmailHandler
- text mixed
mixed icms_messaging_EmailHandler::encodeSubject(mixed text)
- Visibility: public
- This method is defined by icms_messaging_EmailHandler
- text mixed
string icms_messaging_EmailHandler::AddrFormat(string addr)
Formats an address correctly. This overrides the default addr_format method which does not seem to encode $FromName correctly
- Visibility: public
- This method is defined by icms_messaging_EmailHandler
- addr string - <p>the email address to be formatted</p>
mixed icms_messaging_EmailHandler::encodeBody(mixed text)
- Visibility: public
- This method is defined by icms_messaging_EmailHandler
- text mixed