bug-mailutils
[Top][All Lists]
Advanced

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

Re: How do I create a message from RFC822 data!


From: Sam Roberts
Subject: Re: How do I create a message from RFC822 data!
Date: Wed, 14 Nov 2001 23:40:10 -0500
User-agent: Mutt/1.3.16i

Ah, your playing, too!

Quoting Alain Magloire <address@hidden>, who wrote:
> > 
> > s = stdio_stream_create(stdin)/open();
> 
> This function is missing could you send it also.

Sorry!

> > h = message_get_header(); // Causing the headers to be read from the stream.
> > 
> > Manipulate the headers in-memory (add message-id, date, etc.).
> > 
> > mailer_send(msg)
> >   which will
> >      readline from message
> >      writeline to wherever
> 
> What you are trying to do seem to be straight forward.
> And very easy to implement within our correct framework.
> 
> > 
> > Do I need to create a special kind of folder for this, or can I do it
> > with a message_t?
> 
> Just a message_t.
> 
> > 
> > p.s. I'll try and stick the wicket in sieve now, as a proof-of-concept.
> 
> Good point, I should have put something in frm/frm.c as an example.
> Wait a second/minute.

No need, I mean proof that the API will work in sieve, your sample code
was more than enough and wicket.c is easy to read.

Sam

-- 
Sam Roberts <address@hidden> (Vivez sans temps mort!)

Attachment: stdio_stream.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]