This repository has been archived by the owner on Mar 28, 2021. It is now read-only.
This repository has been archived by the owner on Mar 28, 2021. It is now read-only.
Reply to email #11
Open
Description
Sometimes it is necessary to reply to an email in the mailbox. The function should be as simple as possible.
Requirements:
- Use built-in mail function http://php.net/manual/en/function.mail.php
- From, To and Subject can not be changed by the user (don't trust user input)
- To limit abuse: For each message, only one reply is allowed.
- The feature has to be explicitly enabled by the user (disabled by default).
- As few lines of code as possible, while keeping it simple.
Challenges:
- Where to persist that a message has replied to? So far the application is stateless. Hint: The Flag-Feature of imap could be used.