How to encode Subject to encoded form?

[email protected] Fri, 15 Jun 2007 07:54:15 -0400
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Hello

I test compose-msg.c to try to create a MIME file

How could I encode words in Subject field to encoded form? 

Like: encode "This is a subject" to "=?utf8?b?xfrenoeefincd=?"

and how could I and nickname in From field?

Could someone teach me how to call libetpan API?
Thank you :)

________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Libetpan-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libetpan-users