Closed aiphae closed 1 month ago
自动回复:已收到您的邮件
Hi! :slightly_smiling_face:
Using newlines (\n
) with MimeText
should work fine. You can take a look at demo1.cpp for a working example.
If this does not works with a particular email provider, I would try two things:
\r\n
)MimeHtml
instead of MimeText
. See demo4.cpp for more details.Thanks!
When adding text with newline characters (\n) to the message, they don't actually make new lines in the sent email.
I tried replacing them with
<br />
and other stuff but without success.