问题描述
您好。 I C ++在调用"AddText"时在CMimeMessage上,我添加的文字长度为1200个字符,然后在我的Outlook中收到邮件时,我看到文本已被切割到第1000个字符周围。我怀疑常量为" #define
ATLSMTP_MAX_LINE_LENGTH 1000 "与它有关?我该如何解决这个问题?我试着反复调用AddText并且 传递较短的(长字符串添加到邮件正文中?谢谢你,Danny
Hello. I C++ when call "AddText" on a CMimeMessage and the text I add is say 1200 characters long, then upon receiving the mail in my Outlook I see that the text has been cut around the 1000'th character. I suspect the constant "#define
ATLSMTP_MAX_LINE_LENGTH 1000" has something to do with it? How can I work around this? I tried calling AddText repeatedly and pass shorter (< 1000 chars) strings, but then my strings are added as attachments to the mail.. How can I add a long string to the body of my mail? Thank you, Danny
这篇关于CMimeMessage的文本被截断了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!