Detailed Description
StudipMail.class.php
class for constructing and sending emails in Stud.IP
- Author
- André Noack <noack-quest>, Suchi & Berg GmbH info@.nosp@m.data.nosp@m.-ques.nosp@m.t.de
- Version
- 1
Constructor & Destructor Documentation
sets some default values for sender and reply to from configuration settings. The return path is always set to MAIL_ABUSE
Member Function Documentation
addDataAttachment |
( |
|
$data, |
|
|
|
$name, |
|
|
|
$type = 'automatic/name' , |
|
|
|
$disposition = 'attachment' |
|
) |
| |
- Parameters
-
$data | |
$name | |
$type | |
$disposition | |
- Returns
- StudipMail provides fluent interface
addFileAttachment |
( |
|
$file_name, |
|
|
|
$name = '' , |
|
|
|
$type = 'automatic/name' , |
|
|
|
$disposition = 'attachment' |
|
) |
| |
- Parameters
-
$file_name | |
$name | |
$type | |
$disposition | |
- Returns
- StudipMail provides fluent interface
addRecipient |
( |
|
$mail, |
|
|
|
$name = '' , |
|
|
|
$type = 'To' |
|
) |
| |
- Parameters
-
- Returns
- StudipMail provides fluent interface
addStudipAttachment |
( |
|
$dokument_id | ) |
|
- Parameters
-
- Returns
- StudipMail provides fluent interface
static getDefaultTransporter |
( |
| ) |
|
|
static |
- Parameters
-
- Returns
- unknown_type
- Parameters
-
- Returns
- unknown_type
removeAttachment |
( |
|
$name | ) |
|
- Parameters
-
- Returns
- StudipMail provides fluent interface
- Parameters
-
- Returns
- StudipMail provides fluent interface
send |
( |
email_message_class |
$transporter = null | ) |
|
send the mail using the given transporter object, or the set default transporter
- Parameters
-
email_message_class | $transporter | |
- Returns
- bool
static sendAbuseMessage |
( |
|
$subject, |
|
|
|
$text |
|
) |
| |
|
static |
convenience method for sending a qick, text based email message to the configured abuse adress
- Parameters
-
string | $subject | |
string | $text | |
- Returns
- bool
static sendMessage |
( |
|
$recipient, |
|
|
|
$subject, |
|
|
|
$text |
|
) |
| |
|
static |
convenience method for sending a qick, text based email message
- Parameters
-
string | $recipient | |
string | $subject | |
string | $text | |
- Returns
- bool
- Parameters
-
- Returns
- StudipMail provides fluent interface
- Parameters
-
- Returns
- StudipMail provides fluent interface
static setDefaultTransporter |
( |
email_message_class |
$transporter | ) |
|
|
static |
Sets the default transporter used in StudipMail::send()
- Parameters
-
email_message_class | $transporter | |
- Returns
- void
- Parameters
-
- Returns
- StudipMail provides fluent interface
- Parameters
-
- Returns
- StudipMail provides fluent interface
- Parameters
-
- Returns
- StudipMail provides fluent interface
- Parameters
-
- Returns
- StudipMail provides fluent interface
- Parameters
-
- Returns
- StudipMail provides fluent interface
The documentation for this class was generated from the following file: