KWeb  6.4
KMail Class Reference

Public Member Functions

 send ($from, $to, $title, $plain, $html, $headers=false, $attachments=false)
 Wysyła emaila.
 prepare ($from, $to, $title, $plain, $html, $headers=false, $attachments=false)

Static Public Member Functions

static instance ($create=true)

Static Public Attributes

static $inst = null

Protected Member Functions

 __construct ()

Constructor & Destructor Documentation

KMail::__construct ( ) [protected]

Member Function Documentation

static KMail::instance ( create = true) [static]
Returns:
KMail
KMail::prepare ( from,
to,
title,
plain,
html,
headers = false,
attachments = false 
)
KMail::send ( from,
to,
title,
plain,
html,
headers = false,
attachments = false 
)

Wysyła emaila.

Parameters:
$attachmentsLista attachmentów w postaci tablicy tablic:
  • file - lokalna ścieżka do pliku
  • data - ew. dane pliku (jeśli nie ma ścieżki)
  • name - nazwa
  • image - true jeżeli ma być dodany jako obraz
  • type - content-type
  • encoding - kodowanie

Field Documentation

KMail::$inst = null [static]

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