Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:mailer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
scriptlog:lib:core:mailer [2026/09/26 09:09] – admin adminscriptlog:lib:core:mailer [2026/09/26 09:34] (current) – admin admin
Line 12: Line 12:
 ======= Docblock Metadata ======= ======= Docblock Metadata =======
  
-  ^ Tag ^ Value ^ +^ Tag ^ Value ^ 
-  | ''@category'' | Core Class | +| ''@category'' | Core Class | 
-  | ''@author'' | M.Noermoehammad | +| ''@author'' | M.Noermoehammad | 
-  | ''@license'' | MIT | +| ''@license'' | MIT | 
-  | ''@version'' | 1.0 | +| ''@version'' | 1.0 | 
-  | ''@since'' | Since Release 1.0 |+| ''@since'' | Since Release 1.0 |
  
 ======= Inheritance ======= ======= Inheritance =======
Line 27: Line 27:
 //None.// //None.//
  
-======= Properties (0) =======+======= Properties (9) =======
  
-//None declared.//+^ Visibility ^ Type ^ Name ^ Default ^ Line ^ 
 +| ''private'' | ''(untyped)'' | ''$to'' |  | 26 | 
 +| ''private'' | ''(untyped)'' | ''$cc'' |  | 33 | 
 +| ''private'' | ''(untyped)'' | ''$bcc'' |  | 40 | 
 +| ''private'' | ''(untyped)'' | ''$from'' |  | 46 | 
 +| ''private'' | ''(untyped)'' | ''$subject'' |  | 52 | 
 +| ''private'' | ''(untyped)'' | ''$sendText'' |  | 59 | 
 +| ''private'' | ''(untyped)'' | ''$textBody'' |  | 66 | 
 +| ''private'' | ''(untyped)'' | ''$sendHTML'' |  | 73 | 
 +| ''private'' | ''(untyped)'' | ''$HTMLBody'' |  | 80 |
  
 ======= Methods (12) ======= ======= Methods (12) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public | ''__construct()'' | Initialize the message parts with blank or default values | 85 | +| public | ''__construct()'' | Initialize the message parts with blank or default values | 85 | 
-  | public | ''setSendTo()'' | set send to | 102 | +| public | ''setSendTo()'' | set send to | 102 | 
-  | public | ''setSendCc()'' | set send CC | 111 | +| public | ''setSendCc()'' | set send CC | 111 | 
-  | public | ''setSendBcc()'' | set send BCC | 120 | +| public | ''setSendBcc()'' | set send BCC | 120 | 
-  | public | ''setFrom()'' | set email's sender | 129 | +| public | ''setFrom()'' | set email's sender | 129 | 
-  | public | ''setSubject()'' | set email's subject | 138 | +| public | ''setSubject()'' | set email's subject | 138 | 
-  | public | ''setSendText()'' | set whether to send email as text | 147 | +| public | ''setSendText()'' | set whether to send email as text | 147 | 
-  | public | ''setTextBody()'' | set text email message body | 156 | +| public | ''setTextBody()'' | set text email message body | 156 | 
-  | public | ''setSendHTML()'' | set whether to send email as HTML | 166 | +| public | ''setSendHTML()'' | set whether to send email as HTML | 166 | 
-  | public | ''setHTMLBody()'' | set text HTML message body | 175 | +| public | ''setHTMLBody()'' | set text HTML message body | 175 | 
-  | public | ''send()'' | Send | 191 | +| public | ''send()'' | Send | 191 | 
-  | private static | ''getAppEmail()'' | getAppEmail | 250 |+| private static | ''getAppEmail()'' | getAppEmail | 250 |
  
  
Line 71: Line 80:
 set send to set send to
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$value'' | ''(untyped)'' | //required// | //none// |+|  ''$value'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 87: Line 96:
 set send CC set send CC
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$value'' | ''(untyped)'' | //required// | //none// |+|  ''$value'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 103: Line 112:
 set send BCC set send BCC
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$value'' | ''(untyped)'' | //required// | //none// |+|  ''$value'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 119: Line 128:
 set email's sender set email's sender
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$value'' | ''(untyped)'' | //required// | //none// |+|  ''$value'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 135: Line 144:
 set email's subject set email's subject
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$value'' | ''(untyped)'' | //required// | //none// |+|  ''$value'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 151: Line 160:
 set whether to send email as text set whether to send email as text
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$value'' | ''(untyped)'' | //required// | //none// |+|  ''$value'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 167: Line 176:
 set text email message body set text email message body
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$value'' | ''(untyped)'' | //required// | //none// |+|  ''$value'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 183: Line 192:
 set whether to send email as HTML set whether to send email as HTML
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$value'' | ''(untyped)'' | //required// | //none// |+|  ''$value'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 199: Line 208:
 set text HTML message body set text HTML message body
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$value'' | ''(untyped)'' | //required// | //none// |+|  ''$value'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 217: Line 226:
 sending email sending email
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$to'' | ''(untyped)'' | ''null'' | //none// | +|  ''$to'' |  ''(untyped)'' |  ''null'' |  //none// | 
-  | ''$subject'' | ''(untyped)'' | ''null'' | //none// | +|  ''$subject'' |  ''(untyped)'' |  ''null'' |  //none// | 
-  | ''$message'' | ''(untyped)'' | ''null'' | //none// | +|  ''$message'' |  ''(untyped)'' |  ''null'' |  //none// | 
-  | ''$headers'' | ''(untyped)'' | ''null'' | //none// |+|  ''$headers'' |  ''(untyped)'' |  ''null'' |  //none// |
  
 **Returns:** ''(none declared)'' — boolean **Returns:** ''(none declared)'' — boolean
scriptlog/lib/core/mailer.1790413762.txt.gz · Last modified: by admin