This class can be used to retrieve and parse e-mail messages from a POP3 or IMAP using the PHP IMAP extension.
It can connect to a mail server, retrieve the total number of messages in a mailbox, retrieve the headers, body and attachment files of a given message, and delete a message.
This class is meant to validate the input values of Web forms.
It supports several types of input validation returning localized error messages according to the idiom that was chosen. The localized text is defined in separate files for each of the supported idioms. Currently, the error messages are available in English, Portuguese, Italian and German.
Currently it supports the following validation types:
- Numeric, alphanumeric, letters only, required, minimum and maximum length
- Date
- E-mail
- Password
- Checkbox
- Dropdown select field
- Radio button field
The class also has some interesting features like associating a text input with a select input. It is useful when you must receive an input text set to an alternative value besides those available in the select input that has a special value for specifying "other" using the text field.
A similar feature is available for radio fields that may be associated with a text field that has to be set by the user when the radio button is checked.
This class allows easily to create the HTML forms, receive from them the data, check, forms the answer, at desire can generate SQL query, in the given example it creates the table and then sends it¸ as the e-mail.
This class allows easily to create the HTML forms, receive from them the data, check, forms the answer, at desire can generate SQL query, in the given example it creates the table and then sends it¸ as the e-mail.
This class can be used to process e-mail messages received in POP3 or IMAP mailbox. It can:
- Access a mailbox with a given user and password
- Get the total number of message in a mailbox
- Get the headers and body of specific messages
- Extract attachments from messages
- Delete messages