Class MailedFormProcessor
The given data should be send via email to the systems mail address and a confirmation mail to the user itself. This feature can be accomplished by extending the class PifaFormAbstractProcessor and implementing its method _processStoredData().
Any uploads of the given form will be added as attachments to the system mail.
- PifaAbstractFormProcessor
- DefaultFormProcessor
- MailedFormProcessor
Package: Plugin\FormAssistant
Copyright: four for business AG
Author: marcus.gnass
Located at plugins/form_assistant/extensions/class.pifa.mailed_form_processor.php
Copyright: four for business AG
Author: marcus.gnass
Located at plugins/form_assistant/extensions/class.pifa.mailed_form_processor.php
protected
|
#
_processStoredData( )
Sends client & system mail independantly. If an error occurs on sending the first mail the second mail is sent nonetheless. |
protected
boolean|array
|
#
_getMailOptions( string $mode )
Sends a mail to the client or configured system address when mail template was selected. |
protected
array
|
#
_getAttachmentNames( )
Return all files that were uploaded by the form as names of attachments to be added to the system mail. |
protected
array
|
#
_getAttachmentStrings( )
Returns an empty array cause there are no attachments that will be created on the fly. |
_processReadData(),
_processValidatedData()
|
__construct(),
getForm(),
getModule(),
process(),
setForm(),
setModule()
|
string |
MAIL_MODE_CLIENT
|
#
'client'
|
string |
MAIL_MODE_SYSTEM
|
#
'system'
|
$_form
|