This class generates an amaMail with specific content and attachement based on a thing that should be sent
This file is part of the project codename "AMANUENSIS"
- Author
- Sebastian Antosch s.ant.nosp@m.osch.nosp@m.@i-sa.nosp@m.n.de
- Copyright
- 2015 I-SAN.de Webdesign & Hosting GbR GPL
| __construct |
( |
|
$type, |
|
|
|
$id, |
|
|
|
$additional = NULL |
|
) |
| |
Constructs a new AmaMailDoc
- Parameters
-
| $type | - the type of the thing that should be send, e.g. offer |
| $id | - the id of the thing |
| $additional | - some additional text that can be added to the mail |
Returns a preview path
- Returns
- string
Sends the constructed mail
Gathers the info
- Returns
- array
- Exceptions
-
| Exception | - if the thing is not found |
Gathers Recipient info
- Returns
- array with 'mail' and 'name'
- Exceptions
-
Gathers the Attachment path and ensures it existence
- Returns
- array
Gathers the mail content
- Returns
- string
Generates the Mails subject
- Returns
- string
The documentation for this class was generated from the following file: