Corrected the yellowness for bugs between the MagicDay and the bounce date.
[wvapps.git] / unity / maildir / emailtest.cc
blob8f3c9240ad09e445344b3e6baa25e9ae78769c44
1 #include "unimailemail.h"
3 int main()
5 UniMailEmail em1("../mail.test/cur/silly:2,S", true);
6 UniMailEmail em2("../mail.test/cur/silly2:2,S", true);
8 em1.addheader("From", "emailtest");
9 em1.addheader("Subject", "mailtest/a/1");
10 em1.body.putstr("This is the value #1.\n");
11 em1.save();
13 em2.addheader("From", "emailtest");
14 em2.addheader("Subject", "mailtest/a/2");
15 em2.body.putstr("This is the value #1.\n");
16 em2.save();
18 return 0;