Skip to content

Fix mail tags in mailer responder for thp 4.0 #949

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix mail tags in mailer responder for thp 4.0 #949

wants to merge 2 commits into from

Conversation

ch0wm3in
Copy link
Contributor

@ch0wm3in ch0wm3in commented Feb 27, 2021

besides a problem where it would look for tags starting with "mail:" which is not possible in thehive 4.0 all tags must start with tag=.
there is also a problem where it take the literal quotes escaped inside the tag and submits it to the mail server, this causes an error on office365 with: 5.2.0 STOREDRV.Submission.Exception:InvalidRecipientsException; Failed to process message due to a permanent exception with message Recipient '[email protected]' is not resolved. All recipients must be resolved before a message can be submitted.

ch0wm3in and others added 2 commits February 4, 2021 10:31
Since 4.0 tags is automatically sometag="tag"
Old mailer.py would not work with for an example office365 since popped value would be \"[email protected]\" litteral
which would cause 5.2.0 STOREDRV.Submission.Exception:InvalidRecipientsException; Failed to process message due to a permanent exception with message Recipient '[email protected]' is not resolved. All recipients must be resolved before a message can be submitted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant