generating the mime .eml

Help
Mnouh
2011-05-16
2013-04-25
  • Mnouh
    Mnouh
    2011-05-16

    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