Hi all,

I've tried this myself but I always manage to get a SIGSEGV whenever I call the appropriate functions. I need to follow this process:

1. See if a folder exists.
1a. If it doesn't, create it.
2. Insert a whole bunch of messages into that folder.

1a I can easily accomplish. As for 1 and 2, they cause grief. db_insert_message seems to ignore the last argument you pass to it and db_imap_append just segfaults upon calling it. I don't remember the name of the function off-hand, but calling the function that takes a user_id and folder name and returns a folder ID also segfaults upon calling. I am checking my arguments for being NULL.

Any suggestions?

Chris

Reply via email to