I'd like to be able to interface directly to qmail-queue to send 
multiple emails.  I've created a hack using 
qmail_open,qmail_put,qmail_from, etc. and can successfully send a 
message.

I would like to be able to send multiple emails without issuing a 
qmail_close command between messages.  My thinking is that I will be 
able to dump messages into the queue fastest if I can keep my process 
open.

I don't think ezmlm will help me because I want to be able to 
generate unique content for each email message I send out.  I beleive 
ezmlm dumps one message for multiple recipients into the queue.

I've tried this sequence of qmail commands without luck:

qmail_open(&qqt)
qmail_puts(&qqt,message)
qmail_from(&qqt,sender)
qmail_to(&qqt,recip)
qmail_put(&qqt,"",1)
qmail_put(&qqt,"-1",2)

qmail_puts(&qqt,message1)
etc.

Is it even possible to do what I would like?

TIA

Mike

Reply via email to