Hi Jose, Yes, I verified that the tny_camel_send_queue_flush call is being made from the create_worker (and obviously, create_worker is being called, too). I noticed that on disk (in my /tmp folder) that there is are a couple of folders created: <temp path>/maildir/outbox <temp path>/maildir/sentbox Each of those folders has 3 sub-folders: cur, new, and tmp - and I noticed that all of those sub-folders (in both the outbox and sentbox folders) are totally empty - so it's like the message I created is not getting output to the "outbox/new" sub-folder (that is just a guess I made where it would be output) - does this suggest anything else to you about the problem? I'm guessing that the worker thread will look for things in the outbox and then move them over to the sentbox once they are successfully sent, or something like that... If this is the case, then it's just a matter of figuring out why the message is not being put into the outbox/new folder (or whatever). Is this correct? Or is there something else more fundamental that I'm missing? Thank you, Steve Rosen José Dapena Paz wrote: El jue, 20-05-2010 a las 18:47 -0700, Steve Rosen escribió:And I have a TRANSPORT store account all setup to use SMTP to send the message. So the really simple code looks like this: // create a test message... TnyMsg * msg = create_test_msg (); // send the test message... TnySendQueue * queue = tny_camel_send_queue_new (TNY_CAMEL_TRANSPORT_ACCOUNT (account)); tny_send_queue_add (queue, msg, &l_err); Then I just call the "gtk_main()" function to see if the test message gets sent - but nothing happens... :( In gdb, I put a break at the "smtp_connect" function, but it never gets called... Using a similar SMTP account that I setup in Tmut, the "smtp_connect" function DOES get called (although it fails to successfully connect to my Comcast SMTP server - but that's my next question!)... So, any thoughts on what is wrong?Maybe it's missing the call to tny_camel_send_queue_flush. Though from what I see, the worker thread (create_worker function in camel send queue) should be called on adding the message. Could you check with gdb if create_worker is called?telnet smtp.comcast.net 25 helo auth auth login <base64 encoded username> <base64 encoded password> data ... (etc.) So how do you configure a Tmut SMTP account to exchange the correct authentication conversation with the Comcast SMTP server?You need to have a handler for set_func (see tny_account_set_pass_func and tny_account_forget_pass_func). The username is set with tny_account_set_user. Br, |