Re: Message body becoming NULL



Shyam Shrivastav escribiu:
> Dear Sergio
> I am doing exactly as written in the doc and as tmut is doing. Here
> again including the code
> Many thanks for your help

[...]

> 	tny_mime_part_construct (TNY_MIME_PART (msg), plain_stream, "text/plain", "7bit");
> 	g_object_unref (G_OBJECT (plain_stream));
> 	g_object_unref (G_OBJECT(header));

As I told you in my previous email you're creating your message as
"text/plain". If you want to create an email with attachments use
"multipart/mixed"

Br


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]