node-sendmail icon indicating copy to clipboard operation
node-sendmail copied to clipboard

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

Open MatthieuHPP opened this issue 7 years ago • 3 comments

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 avatar Aug 22 '17 22:08 MatthieuHPP

@Geex-Renzo thoughts?

GreenPioneer avatar Dec 18 '17 04:12 GreenPioneer

\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.

ShynRou avatar Jan 04 '18 10:01 ShynRou

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

GreenPioneer avatar Mar 12 '18 07:03 GreenPioneer