Sorry, my mistake. The behaviour is actually that for the client, handle_connect() is never called, so the message is never send. Why? -- Real e-mail address is 'cHVAdm8ubHU=\n'.decode('base64') Visit my Homepage at http://www.homepages.lu/pu/