in reply to Manipulating mail parts from Sendmail's queue

Have you any sample code? This should be an easy task.

Try reading the directory and getting the names of the "q..." files.
After you have that, the rest is easy.
There is a matching "d..." file for every "q..." file.

Please post your attempt and someone will give you more assistance.

  • Comment on Re: Manipulating mail parts from Sendmail's queue