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

iTIP: convert \n from iCalendar to “\r\n <br>” to the MSA #5050

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dilyanpalauzov
Copy link
Contributor

When an \n from an iCalendar property value is converted in http_caldav_sched.c:imip_send_sendmail() to HTML, the function used to send to the MSA \n <br>. That is: a single LF without CR. This does not work any more, the MSA replies:

smtpclient: unexpected response to EOT: code=421 text=4.5.0 Bare linefeed (LF) not allowed
smtpclient: Bad protocol during DATA

This change sends in such cases \r\n instead of \n.

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