aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>1999-05-21 05:24:54 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-05-21 05:24:54 +0800
commitbdf895136ea393bd59960623d7cab970900048f7 (patch)
tree6d1f724e51cbaaf4fef4047edf41b61d6df0bc85 /tests
parent1cf9ad83368e754a5b8072f3ed820785609eb709 (diff)
downloadgsoc2013-evolution-bdf895136ea393bd59960623d7cab970900048f7.tar.gz
gsoc2013-evolution-bdf895136ea393bd59960623d7cab970900048f7.tar.zst
gsoc2013-evolution-bdf895136ea393bd59960623d7cab970900048f7.zip
recipient list printing
* camel/camel-mime-message.c (_write_to_file): recipient list printing * tests/test1.c (main): more tests. svn path=/trunk/; revision=936
Diffstat (limited to 'tests')
-rw-r--r--tests/test1.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/test1.c b/tests/test1.c
index 7ec4b49145..f75d9046ca 100644
--- a/tests/test1.c
+++ b/tests/test1.c
@@ -15,8 +15,16 @@ main (int argc, char**argv)
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"));
-
+
+ camel_mime_message_add_recipient (message, g_string_new (RECIPIENT_TYPE_TO), g_string_new ("franck.dechamps@alseve.fr"));
+ camel_mime_message_add_recipient (message, g_string_new (RECIPIENT_TYPE_TO), g_string_new ("mc@alseve.fr"));
+ camel_mime_message_add_recipient (message, g_string_new (RECIPIENT_TYPE_TO), g_string_new ("richard.lengagne@inria.fr"));
+
+ camel_mime_message_add_recipient (message, g_string_new (RECIPIENT_TYPE_CC), g_string_new ("Francois.fleuret@inria.fr"));
+ camel_mime_message_add_recipient (message, g_string_new (RECIPIENT_TYPE_CC), g_string_new ("maury@justmagic.com"));
+
+ camel_mime_message_add_recipient (message, g_string_new (RECIPIENT_TYPE_BCC), g_string_new ("guiheneu@aful.org"));
+
output_file = fopen ("mail.test", "w");
if (!output_file) {
+0800'>2007-01-141-0/+1 * Update to KDE 3.5.5 / KOffice 1.6.1lofi2006-12-205-10/+11 * - Update to 1.1.4miwi2006-11-105-71/+27 * KDE 3.5.4 / KOffice 1.5.2lofi2006-09-134-10/+10 * Now installs again.kris2006-08-171-2/+0 * Mark BROKEN: does not installerwin2006-08-041-0/+2 * Update to 1.0itetcu2006-08-013-43/+107 * All dictionaries can be installed separately:thierry2006-07-154-7/+15 * Update to KDE 3.5.3lofi2006-06-064-22/+20 * Update to KOffice 1.5.1lofi2006-05-272-4/+4 * remove USE_REINPLACE for all categories starting with Hedwin2006-05-081-1/+0 * Update to KOffice 1.5.0lofi2006-04-293-5/+8 * Update to KDE 3.5.2lofi2006-03-314-128/+22 * Update to KDE 3.5.1.lofi2006-02-014-6/+20 * SHA256ifyedwin2006-01-227-0/+8 * Update to KDE 3.5.0lofi2006-01-094-110/+48 * Remove the usage of 'misc' as a secondary category.linimon2005-11-102-2/+2 * Update to KDE 3.4.3 / KOffice 1.4.2lofi2005-11-055-8/+7 * Remove all the secondary port of editors/ooodict-allmaho2005-11-012-21/+0 * Fix index build by moving openoffice.org-1.1 ports.maho2005-08-291-1/+1 * Update to KDE 3.4.2 / KOffice 1.4.1lofi2005-08-014-7/+7 * Update to KOffice 1.4.0a.lofi2005-07-063-30/+7 * Remove openoffice.org localized ports as I announced:maho2005-06-292-16/+0 * Update to KDE 3.4.1lofi2005-06-264-10/+4 * - Unbreak and general updatepav2005-06-061-2/+2 * Added slave port of lang/php_doc for the Hungarian languageedwin2005-05-232-0/+14 * - Update to 1.0.R.2pav2005-05-203-25/+10 * Update to KDE 3.4lofi2005-03-21