Skip to content
This repository has been archived by the owner on Mar 28, 2021. It is now read-only.

Reply to email #11

Open
synox opened this issue Jan 19, 2017 · 2 comments
Open

Reply to email #11

synox opened this issue Jan 19, 2017 · 2 comments

Comments

@synox
Copy link
Owner

synox commented Jan 19, 2017

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.
@synox
Copy link
Owner Author

synox commented Jun 17, 2018

maybe #49 gives some clues.

@joshp23
Copy link

joshp23 commented Oct 16, 2018

You could check the state by scanning the catch-all's sent folder for anything sent from that user name. You would have to make sure that the catch-all is configured to send as any user name.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants