From 1cf9ad83368e754a5b8072f3ed820785609eb709 Mon Sep 17 00:00:00 2001 From: Bertrand Guiheneuf Date: Thu, 20 May 1999 16:37:03 +0000 Subject: sync svn path=/trunk/; revision=935 --- tests/test1.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test1.c b/tests/test1.c index 90004cfd5c..7ec4b49145 100644 --- a/tests/test1.c +++ b/tests/test1.c @@ -11,8 +11,12 @@ main (int argc, char**argv) gtk_init (&argc, &argv); message = camel_mime_message_new_with_session( (CamelSession *)NULL); camel_mime_part_set_description (CAMEL_MIME_PART (message), g_string_new ("a test")); - camel_mime_message_set_received_date (message, g_string_new ("a date")); - + camel_mime_message_set_received_date (message, g_string_new ("Thu, 20 May 1999, 10:39:14 +0200")); + camel_mime_message_set_subject (message, g_string_new ("A test message")); + camel_mime_message_set_reply_to (message, g_string_new ("toto@toto.com")); + camel_mime_message_set_from (message, g_string_new ("Bertrand.Guiheneuf@inria.fr")); + camel_mime_message_add_recipient (message, g_string_new ("To"), g_string_new ("franck.dechamps@alseve.fr")); + output_file = fopen ("mail.test", "w"); if (!output_file) { -- cgit