Добро пожаловать в раздел администрации модуля CMSMailer';
$lang['changelog'] = '
This module provides no end user functionality. It is designed to be integrated into other modules to provide email capabilities. Thats it, nothing more.
This module provides a simple wrapper around all of the methods and variables of phpmailer. It is designed for use by other module developers, below is an example, and a brief API reference. Please read the PHPMailer documentation included for more information.
void reset()
Reset the object back to the values specified in the admin panel
string GetAltBody()
Return the alternate body of the email
void SetAltBody( $string )
Set the alternate body of the email
string GetBody()
Return the primary body of the email
void SetBody( $string )
Set the primary body of the email
string GetCharSet()
Default: iso-8859-1
Return the mailer character set
void SetCharSet( $string )
Set the mailer character set
string GetConfirmReadingTo()
Return the address confirmed reading email flag
void SetConfirmReadingTo( $address )
Set or unset the confirm reading address
string GetContentType()
Default: text/plain
Вернуть тип контента
void SetContentType()
Выбрать тип контента
string GetEncoding()
Вернуть кодирование
void SetEncoding( $encoding )
Выбрать кодирование
Options are: 8bit, 7bit, binary, base64, quoted-printable
string GetErrorInfo()
Return any error information
string GetFrom()
Return the current originating address
void SetFrom( $address )
Выбрать исходящий адрес
string GetFromName()
Вернуть текущее исходящее имя
SetFromName( $name )
Выбрать исходящее имяSet the originating name
string GetHelo()
Вернуть полосу HELO
SetHelo( $string )
Выбрать полосу Set the HELO
Default value: $hostname
string GetHost()
Вернуть хост SMTP отделенный точкой с запятой
void SetHost( $string )
Выбрать хост
string GetHostName()
Вернуть имя хоста, используемое для SMTP Helo
void SetHostName( $hostname )
Set the hostname used for SMTP Helo
string GetMailer()
Вернуть mailer
void SetMailer( $mailer )
Set the mailer, either sendmail,mail, or smtp
string GetPassword()
Вернуть пароль для smtp аутентификации
void SetPassword( $string )
Выбрать пароль для smtp аутентификации
int GetPort()
Вернуть номер порта для smtp соединений
void SetPort( $int )
Выбрать порт для smtp соединений
int GetPriority()
Вернуть приоритет сообщения
void SetPriority( int )
Выбрать приоритет сообщения
Значения 1=высокий, 3 =нормальный, 5 = низкий
string GetSender()
Вернуть адрес отправителя (путь возвращения) строка
void SetSender( $address )
Выбрать строку отправителя
string GetSendmail()
Вернуть sendmail путь
void SetSendmail( $path )
Выбрать sendmail путь
bool GetSMTPAuth()
Вернуть текущее значение smtp auth flag
SetSMTPAuth( $bool )
Выбрать smtp auth flag
bool GetSMTPDebug()
Вернуть значение SMTP debug flag
void SetSMTPDebug( $bool )
Выбрать SMTP debug flag
bool GetSMTPKeepAlive()
Вернуть значение SMTP keep alive flag
SetSMTPKeepAlive( $bool )
Выбрать SMTP keep alive flag
строка GetSubject()
Вернуть текущий предмет строки
void SetSubject( $string )
Выбрать тему строки
int GetTimeout()
Вернуть значение timeout
void SetTimeout( $seconds )
Выбрать значение timeout
string GetUsername()
Вернуть smtp auth имя пользователя
void SetUsername( $string )
Выбрать имя пользователя автора smtp
int GetWordWrap()
Вернуть значение wordwrap
void SetWordWrap( $int )
Вернуться к значению wordwrap
AddAddress( $address, $name = \'\' )
Добавить адрес назначения
AddAttachment( $path, $name = \'\', $encoding = \'base64\', $type = \'application/octent-stream\' )
Добавить файл- аттачмент
AddBCC( $address, $name = \'\' )
Добавить BCC\'d адрес назначения
AddCC( $address, $name = \'\' )
Add a CC\'d destination address
AddCustomHeader( $txt )
Добавить заголовок пользователя на email
AddEmbeddedImage( $path, $cid, $name = \'\', $encoding = \'base64\', $type = \'application/octent-stream\' )
Add an embedded image
AddReplyTo( $address, $name = \'\' )
Добавить ответ на адрес
AddStringAttachment( $string, $filename, $encoding = \'base64\', $type = \'application/octent-stream\' )
Add a file attachment
ClearAddresses()
Удалить все адреса
ClearAllRecipients()
Удалить всех адресатов
ClearAttachments()
Удалить все аттачменты
ClearBCCs()
Удалить все BCC адреса
ClearCCs()
Удалить все CC адреса
ClearCustomHeaders()
Удалить все заголовки пользователей
ClearReplyto()
Удалить ответ адресу
IsError()
Проверка на условия ошибки
bool IsHTML( $bool )
Выберите флажок html
Note possibly this should be a get and set method
bool IsMail()
Проверить, используем ли мы mail
bool IsQmail()
Проверить, используем ли мы qmail
IsSendmail()
Проверить, используем ли мы sendmail
IsSMTP()
Проверить, используем ли мы smtp
Send()
Отправить приготовленные на данный момент письма
Выбрать язык( $lang_type, $lang_path = \'\' )
Выбрать текущий язык и (опционально) ветвь языка
SmtpClose()
Завершить smtp соединение
Данный модуль не включает коммерческую поддержку. Тем не менее, существуют ресурсы, способные вам с эти помочь:
As per the GPL, this software is provided as-is. Пожалуйста, прочитайте текст лицензии
для полного отказа.