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

Plaintext content is truncated after the first ".\r\n" #41

Open
MatthieuHPP opened this issue Aug 22, 2017 · 3 comments
Open

Plaintext content is truncated after the first ".\r\n" #41

MatthieuHPP opened this issue Aug 22, 2017 · 3 comments

Comments

@MatthieuHPP
Copy link

MatthieuHPP commented Aug 22, 2017

hello,

I am using node-sendmail with debian 8, node
6.11, sendmail latest. Everything is incredibly simple and working well (spf, dkim...).

The only problem i am meeting, is mail content are truncated at the first dot followed by \r\n.

Is their a way to overcome this trend ?
Many thanks.

Matthieu

@MatthieuHPP MatthieuHPP changed the title Handling bare LF error for plaintext mails Plaintext content is truncated after the first ".\r\n" Aug 24, 2017
@GreenPioneer
Copy link
Collaborator

@Geex-Renzo thoughts?

@ShynRou
Copy link

ShynRou commented Jan 4, 2018

\r\n is specified as a seperator in SMTP. Best to avoid it's usage. Maybe use HTML instead of plain text and replace \r\n with <br>

@GreenPioneer Maybe replacement of \r\n in the message by default would work.

@GreenPioneer
Copy link
Collaborator

Im gonna try that out this week - are any of you still using sendmail and could validate if it works for you ? @ShynRou @MatthieuHPP @Geex-Renzo

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

3 participants