|
dbxapp 4.5.3
Technische API-Referenz der dbxapp-Plattform
|
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 | |
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.
| dbxMail::attachfile | ( | $file, | |
| $disp = 'attachment', | |||
| $content_type = '', | |||
| $cid = '' ) |
Benutzt get_content_type().
| dbxMail::bodyhtml | ( | $text | ) |
| dbxMail::bodytext | ( | $text | ) |
| dbxMail::check_email | ( | $in_address | ) |
| dbxMail::clear_bodytext | ( | ) |
| dbxMail::clear_htmltext | ( | ) |
| dbxMail::delivery_mode | ( | ) |
Liefert die globale Versandart.
Wird benutzt von send().
| dbxMail::get_body | ( | ) |
| dbxMail::get_content_type | ( | $in_file_name | ) |
Wird benutzt von attachfile().
| dbxMail::get_error | ( | ) |
| dbxMail::get_header | ( | ) |
| dbxMail::htmltext | ( | $text | ) |
| dbxMail::init | ( | ) |
Wird benutzt von send_message().
| dbxMail::send | ( | $to = 'root@localhost', | |
| $subject = 'Default Subject', | |||
| $options = array() ) |
Benutzt $config, $options, $subject und delivery_mode().
| 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().
| dbxMail::set_from | ( | $email, | |
| $name = '' ) |
| dbxMail::set_header | ( | $name, | |
| $value ) |
| dbxMail::spam_reason_for_text | ( | string | $text | ) |
Benutzt if.
| dbxMail::$attachments = array() |
Wird benutzt von send_message().
| dbxMail::$auto_embbed_images = true |
| dbxMail::$auto_embed_images = true |
| dbxMail::$boundary = '' |
| dbxMail::$errstr = '' |
| dbxMail::$headers = array() |
| dbxMail::$html_images = array() |
| dbxMail::$htmlbody = '' |
| dbxMail::$sendmail_path = '' |
| dbxMail::$spam_protection = true |
| dbxMail::$subject = '' |
Wird benutzt von send() und send_message().
| dbxMail::$textbody = '' |