Closed nigoolasi closed 11 months ago
Please, could anyone provide me an example of how to get the mail content as a unencoded string? when i use the code below msg.format(msgbody)
msg.format(msgbody)
i get an string encoded by base64,
is msgbody original mime? if so, i think msg.parse(msgbody); std::cout << msg.content(); can help. if it doesn't work, do msgbody = "\r\n" + msgbody and try again
msgbody
msg.parse(msgbody); std::cout << msg.content();
msgbody = "\r\n" + msgbody
The answer seems correct to me.
Please, could anyone provide me an example of how to get the mail content as a unencoded string? when i use the code below
msg.format(msgbody)
i get an string encoded by base64,