UNA
Loading...
Searching...
No Matches
BxSMTPModule Class Reference
Inheritance diagram for BxSMTPModule:
BxDolModule BxDol

Public Member Functions

 __construct (&$aModule)
 
 serviceSend ($sRecipientEmail, $sMailSubject, $sMailBody, $sMailHeader, $sMailParameters, $isHtml, $aRecipientInfo=array(), $aCustomHeaders=array())
 
 formTester ()
 
 log ($s)
 
- Public Member Functions inherited from BxDolModule
 __construct ($aModule)
 
 isEnabled ()
 
 getName ()
 
 isLogged ()
 
 getUserId ()
 
 getUserPassword ()
 
 serviceIsSafeService ($s)
 
 serviceGetSafeServices ()
 
 serviceIsPublicService ($s)
 
 serviceGetPublicServices ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolModule
static getInstance ($sName)
 
static getTitle ($sUri)
 
static getTitleKey ($sUri)
 
- Public Attributes inherited from BxDolModule
 $_aModule
 
 $_oDb
 
 $_oTemplate
 
 $_oConfig
 

Member Function Documentation

◆ serviceSend()

BxSMTPModule::serviceSend ( $sRecipientEmail,
$sMailSubject,
$sMailBody,
$sMailHeader,
$sMailParameters,
$isHtml,
$aRecipientInfo = array(),
$aCustomHeaders = array() )

Hooks:

'profile', 'send_mail' - hook in $oAccount->isConfirmed check

  • $unit_name - equals profile
  • $action - equals send_mail
  • $object_id - not used
  • $sender_id - recipient profile_id
  • $extra_params - array of additional params with the following array keys:
    • test_mode - [bool] test mode or not
    • email - [string] email
    • subject - [string] letter subject
    • body - [string] letter body
    • header - [string] letter header
    • params - [string] letter params
    • recipient - [array] recipient info
    • html - [bool] is html letter or not
    • ret - [bool] sent successfuly or not
    • error_message - [string] error message
      HOOKS
      'profile', 'send_mail' - hook in $oAccount->isConfirmed check

The documentation for this class was generated from the following file: