So I wanted to generate a .eml file of the email.
if the msg object is msg
msg->getHeader()->generate works however…
msg->generate() does not.
I created a ofstream object emailG and im doing
emailG << msg->getHeader()->generate that works…
just not sure why msg->getBody()->generate does not work