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

Split/Fold the To/CC header fields to avoid reaching the 998 characters limit #26

Open
jmrouet opened this issue Jun 20, 2019 · 0 comments

Comments

@jmrouet
Copy link

jmrouet commented Jun 20, 2019

If svnnotify is used to send emails to too many users it can create a non compliant To: header line.
This can also happen easily if multiple -x arguments are used. Then some email adresses can be repeted several times in the To: header field.

I suggest to

  1. split (aka fold) the To: header line with CRLF as described in RFC822.
  2. remove duplicate email adresses in both $to or $cc fields.

Thanks for the excellent job
Regards,
Jean-Michel.

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

No branches or pull requests

1 participant