dbxapp 4.5.3
Technische API-Referenz der dbxapp-Plattform
Lade ...
Suche ...
Keine Treffer
dbxMail Klassenreferenz

Erstellt und versendet Text- und HTML-Nachrichten über PHPMailer. Mehr ...

Öffentliche Methoden

 send_message ($from, $to, string $subject='', string $body='', string $format='html', $attachments=array(), array $options=array())
 Bereitet Inhalt und Anhänge vor und versendet eine vollständige Nachricht.
 init ()
 check_email ($in_address)
 get_body ()
 get_header ()
 set_header ($name, $value)
 set_from ($email, $name='')
 attachfile ($file, $disp='attachment', $content_type='', $cid='')
 get_content_type ($in_file_name)
 bodytext ($text)
 bodyhtml ($text)
 htmltext ($text)
 clear_bodytext ()
 clear_htmltext ()
 get_error ()
 send ($to='root @localhost', $subject='Default Subject', $options=array())
 delivery_mode ()
 Liefert die globale Versandart.
 spam_reason_for_text (string $text)

Öffentliche Attribute

 $errstr = ''
 $headers = array()
 $textbody = ''
 $htmlbody = ''
 $attachments = array()
 $html_images = array()
 $auto_embbed_images = true
 $auto_embed_images = true
 $boundary = ''
 $sendmail_path = ''
 $subject = ''
 $spam_protection = true

Ausführliche Beschreibung

Erstellt und versendet Text- und HTML-Nachrichten über PHPMailer.

Die Klasse bündelt Absender, Empfänger, Anhänge, eingebettete Bilder und die in dbxApp konfigurierte Zustellungsart.

Dokumentation der Elementfunktionen

◆ attachfile()

dbxMail::attachfile ( $file,
$disp = 'attachment',
$content_type = '',
$cid = '' )

◆ bodyhtml()

dbxMail::bodyhtml ( $text)

◆ bodytext()

dbxMail::bodytext ( $text)

◆ check_email()

dbxMail::check_email ( $in_address)

◆ clear_bodytext()

dbxMail::clear_bodytext ( )

◆ clear_htmltext()

dbxMail::clear_htmltext ( )

◆ delivery_mode()

dbxMail::delivery_mode ( )

Liefert die globale Versandart.

  • internal: kein Netzwerkversand, Annahme im internen Systemprotokoll
  • disabled: Versand ablehnen und intern protokollieren
  • external: konfigurierten PHP-/Sendmail-/SMTP-Transport verwenden

Wird benutzt von send().

◆ get_body()

dbxMail::get_body ( )

◆ get_content_type()

dbxMail::get_content_type ( $in_file_name)

Wird benutzt von attachfile().

◆ get_error()

dbxMail::get_error ( )

◆ get_header()

dbxMail::get_header ( )

◆ htmltext()

dbxMail::htmltext ( $text)

◆ init()

dbxMail::init ( )

Wird benutzt von send_message().

◆ send()

dbxMail::send ( $to = 'root@localhost',
$subject = 'Default Subject',
$options = array() )

◆ send_message()

dbxMail::send_message ( $from,
$to,
string $subject = '',
string $body = '',
string $format = 'html',
$attachments = array(),
array $options = array() )

Bereitet Inhalt und Anhänge vor und versendet eine vollständige Nachricht.

Benutzt $attachments, $options, $subject und init().

◆ set_from()

dbxMail::set_from ( $email,
$name = '' )

◆ set_header()

dbxMail::set_header ( $name,
$value )

◆ spam_reason_for_text()

dbxMail::spam_reason_for_text ( string $text)

Benutzt if.

Dokumentation der Datenelemente

◆ $attachments

dbxMail::$attachments = array()

Wird benutzt von send_message().

◆ $auto_embbed_images

dbxMail::$auto_embbed_images = true

◆ $auto_embed_images

dbxMail::$auto_embed_images = true

◆ $boundary

dbxMail::$boundary = ''

◆ $errstr

dbxMail::$errstr = ''

◆ $headers

dbxMail::$headers = array()

◆ $html_images

dbxMail::$html_images = array()

◆ $htmlbody

dbxMail::$htmlbody = ''

◆ $sendmail_path

dbxMail::$sendmail_path = ''

◆ $spam_protection

dbxMail::$spam_protection = true

◆ $subject

dbxMail::$subject = ''

Wird benutzt von send() und send_message().

◆ $textbody

dbxMail::$textbody = ''

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: