From 155cf6aeea9ba7ecbc39face6442d3ce1b03ad8e Mon Sep 17 00:00:00 2001
From: Nils Schwabe
Date: Wed, 4 Jun 2014 14:27:03 +0200
Subject: Add webinterface with functionallity
---
management-interface/lib/api/classSMTP.html | 482 ++++++++++++++++++++++++++++
1 file changed, 482 insertions(+)
create mode 100644 management-interface/lib/api/classSMTP.html
(limited to 'management-interface/lib/api/classSMTP.html')
diff --git a/management-interface/lib/api/classSMTP.html b/management-interface/lib/api/classSMTP.html
new file mode 100644
index 0000000..3a30648
--- /dev/null
+++ b/management-interface/lib/api/classSMTP.html
@@ -0,0 +1,482 @@
+
+
+
+
+
+
+
SMTP plug-in.
+ More...
+
+
+
+
+
+

+
+
+
+ |
+|
+ | $attachments |
+| | E-mail attachments.
|
+| |
+|
+ | $host |
+| | SMTP host.
|
+| |
+|
+ | $port |
+| | SMTP port.
|
+| |
+|
+ | $scheme |
+| | TLS/SSL.
|
+| |
+|
+ | $user |
+| | User ID.
|
+| |
+|
+ | $pw |
+| | Password.
|
+| |
+|
+ | $socket |
+| | TCP/IP socket.
|
+| |
+|
+ | $log |
+| | Server-client conversation.
|
+| |
+ |
+|
+const | E_Header ='%s: header is required' |
+| |
+|
+const | E_Blank ='Message must not be blank' |
+| |
+|
+const | E_Attach ='Attachment %s not found' |
+| |
+
+ |
+|
+ | $headers |
+| | Message properties.
|
+| |
+
+
+
+
+
+
+
+
+ | SMTP::__construct |
+ ( |
+ |
+ $host, |
+
+
+ |
+ |
+ |
+ $port, |
+
+
+ |
+ |
+ |
+ $scheme, |
+
+
+ |
+ |
+ |
+ $user, |
+
+
+ |
+ |
+ |
+ $pw |
+
+
+ |
+ ) |
+ | |
+
+
+
+
Instantiate class
+
- Parameters
-
+
+ | $host | string |
+ | $port | int |
+ | $scheme | string |
+ | $user | string |
+ | $pw | string |
+
+
+
+
+
+
+
+
+
+
+
+
+ | SMTP::attach |
+ ( |
+ |
+ $file | ) |
+ |
+
+
+
+
Add e-mail attachment
+
- Returns
- NULL
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | SMTP::clear |
+ ( |
+ |
+ $key | ) |
+ |
+
+
+
+
Remove header
+
- Returns
- NULL
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | SMTP::dialog |
+ ( |
+ |
+ $cmd = NULL, |
+
+
+ |
+ |
+ |
+ $log = TRUE |
+
+
+ |
+ ) |
+ | |
+
+
+ |
+
+protected |
+
+
+
+
Send SMTP command and record server response
+
- Returns
- string
+
- Parameters
-
+
+ | $cmd | string |
+ | $log | bool |
+
+
+
+
+
+
+
+
+
+
+
+ | SMTP::exists |
+ ( |
+ |
+ $key | ) |
+ |
+
+
+
+
Return TRUE if header exists
+
- Returns
- bool
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | SMTP::fixheader |
+ ( |
+ |
+ $key | ) |
+ |
+
+
+ |
+
+protected |
+
+
+
+
Fix header
+
- Returns
- string
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | SMTP::get |
+ ( |
+ |
+ $key | ) |
+ |
+
+
+
+
Return value of e-mail header
+
- Returns
- string|NULL
+
- Parameters
-
+
+
+
+
+
+
+
+
+
+
+
+ | SMTP::log |
+ ( |
+ | ) |
+ |
+
+
+
+
Return client-server conversation history
+
- Returns
- string
+
+
+
+
+
+
+
+
+ | SMTP::send |
+ ( |
+ |
+ $message, |
+
+
+ |
+ |
+ |
+ $log = TRUE |
+
+
+ |
+ ) |
+ | |
+
+
+
+
Transmit message
+
- Returns
- bool
+
- Parameters
-
+
+ | $message | string |
+ | $log | bool |
+
+
+
+
+
+
+
+
+
+
+
+ | SMTP::set |
+ ( |
+ |
+ $key, |
+
+
+ |
+ |
+ |
+ $val |
+
+
+ |
+ ) |
+ | |
+
+
+
+
Bind value to e-mail header
+
- Returns
- string
+
- Parameters
-
+
+ | $key | string |
+ | $val | string |
+
+
+
+
+
+
+
The documentation for this class was generated from the following file:
+
--
cgit v1.2.3-55-g7522