79 |
|
// tester.status_("INBOX (MESSAGES UNSEEN)"); |
80 |
|
// tester.examine("INBOX"); |
81 |
|
|
82 |
< |
/* string message = string("Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)\r\n") |
83 |
< |
+ "From: Fred Foobar <foobar@Blurdybloop.COM>\r\n" |
84 |
< |
+ "Subject: afternoon meeting\r\n" |
85 |
< |
+ "To: mooch@owatagu.siam.edu\r\n" |
86 |
< |
+ "Message-Id: <B27397-0100000@Blurdybloop.COM>\r\n" |
82 |
> |
/* string message = string("Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)\n") |
83 |
> |
+ "From: Fred Foobar <foobar@Blurdybloop.COM>\n" |
84 |
> |
+ "Subject: afternoon meeting\n" |
85 |
> |
+ "To: mooch@owatagu.siam.edu\n" |
86 |
> |
+ "Message-Id: <B27397-0100000@Blurdybloop.COM>\n" |
87 |
|
+ "MIME-Version: 1.0\r\n" |
88 |
< |
+ "Content-Type: TEXT/PLAIN; CHARSET=US-ASCII\r\n\r\n" |
89 |
< |
+ "Hello Joe, do you think we can meet at 3:30 tomorrow?\r\n";*/ |
88 |
> |
+ "Content-Type: TEXT/PLAIN; CHARSET=US-ASCII\n\n" |
89 |
> |
+ "Hello Joe, do you think we can meet at 3:30 tomorrow?\n"; |
90 |
|
|
91 |
< |
// char length[4]; |
92 |
< |
// sprintf(length, "%u", message.length()); |
91 |
> |
char length[4]; |
92 |
> |
sprintf(length, "%u", message.length()); |
93 |
|
|
94 |
< |
// tester.append("INBOX {" + string(length) + "}", message); |
94 |
> |
tester.append("Test {" + string(length) + "}", message);*/ |
95 |
|
// tester.select("\"Program Testing\""); |
96 |
|
// tester.noop(); |
97 |
|
tester.logout(); |