Lis
20th August 2010, 08:01
Hello everyone.
I use qt 4.6.3 with visual studio 2010.
I found a smtp class on the net, which I try to modify a little.
Sadly I get the error:
QSocketNotifier: socket notifiers cannot be enabled from another thread
and the conversation with the smtp server stops.
The error is shown after the function sendLine() is called from nextLine().
After that, nothing happens anymore.
Can someone tell me what I am doing wrong?
stmp.cpp:
http://codepad.org/r0RLf1sw
smtp.h:
http://codepad.org/fbAopRXs
Thank you, Louis Hoefler
I use qt 4.6.3 with visual studio 2010.
I found a smtp class on the net, which I try to modify a little.
Sadly I get the error:
QSocketNotifier: socket notifiers cannot be enabled from another thread
and the conversation with the smtp server stops.
The error is shown after the function sendLine() is called from nextLine().
After that, nothing happens anymore.
Can someone tell me what I am doing wrong?
stmp.cpp:
http://codepad.org/r0RLf1sw
smtp.h:
http://codepad.org/fbAopRXs
Thank you, Louis Hoefler