Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback feature for each email file in Maildir/ #399

Closed
azumakuniyuki opened this issue Jun 9, 2020 · 0 comments
Closed

Callback feature for each email file in Maildir/ #399

azumakuniyuki opened this issue Jun 9, 2020 · 0 comments
Assignees
Projects

Comments

@azumakuniyuki
Copy link
Member

azumakuniyuki commented Jun 9, 2020

  • Sisimai->make receives a hook method
    • Sisimai->make('/path/to/maildir', 'c___' => $method)
    • For example
      • Remove/Move the email file after parsed
      • Append X-Parsed-By-Sisimai: yes header into the email file
    • Argument hook is used for an email content at Sisimai::Message
  • Argument name nominees: (Sisimai::Message/Sisimai::Mail)
    • hook/c___ Keeps hook as an argument
      • c___ is c and triple _s
      • The shape of c___ looks like a hook
    • before/after: Before parsing, After parsing
      • hook will be removed at the future release of sisimai:
@azumakuniyuki azumakuniyuki self-assigned this Jun 9, 2020
azumakuniyuki added a commit that referenced this issue Jun 9, 2020
azumakuniyuki added a commit that referenced this issue Jun 9, 2020
azumakuniyuki added a commit that referenced this issue Jun 9, 2020
azumakuniyuki added a commit that referenced this issue Jun 12, 2020
azumakuniyuki added a commit that referenced this issue Jun 12, 2020
@azumakuniyuki azumakuniyuki added this to To Do in Sisimai 5 via automation Jun 25, 2020
@azumakuniyuki azumakuniyuki moved this from To Do to Waiting To Be Merged in Sisimai 5 Jun 25, 2020
azumakuniyuki added a commit that referenced this issue Jul 12, 2020
azumakuniyuki added a commit that referenced this issue Jul 12, 2020
azumakuniyuki added a commit that referenced this issue Jul 12, 2020
azumakuniyuki added a commit that referenced this issue Jul 12, 2020
azumakuniyuki added a commit that referenced this issue Jul 12, 2020
azumakuniyuki added a commit that referenced this issue Jul 16, 2020
azumakuniyuki added a commit that referenced this issue Jul 16, 2020
azumakuniyuki added a commit that referenced this issue Jul 16, 2020
azumakuniyuki added a commit that referenced this issue Jul 16, 2020
azumakuniyuki added a commit that referenced this issue Jul 16, 2020
azumakuniyuki added a commit that referenced this issue Aug 11, 2020
@azumakuniyuki azumakuniyuki moved this from Waiting To Be Merged to Done in Sisimai 5 Aug 24, 2020
This was referenced Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Sisimai 5
  
Done
Development

No branches or pull requests

1 participant