Component busy error (wodSmtp)
Hello!
I'm trying to send message using Smtp component, but error Component busy is occured when I'm call method SendMessage().
Thanks
Re: Component busy error
Hi Alex,
Please try to use wodSMTP Blocking Property and set value to true.
[code]
wodSmtp1.Blocking = True
wodSmtp1.SendMessage
[/code]
More help for Blocking Property you can find here:
http://www.weonlydo.com/Smtp/Help/WODSMTPLib~wodSmtp~Blocking.html
If you didn't already use our samples I suggest you to try them. You can find them in component samples folder.
Let us know how it goes.
Regards,
Drazen
Re: Component busy error
Hello.
I'm using c# with smtp component. When I am sending message from main thread (on-click form method), then message sends ok. But if I'm sending message from separate thread, then it doesn't send: Component busy error or none if Blocking=true.
Thanks.
Re: Component busy error
Hi Alex,
Can you send us a sample that reproduces the problem? You can send it to techsupport@weonlydo.com
Remember that you have to put the full component into one thread, and only use it from that one thread.
Regards,
Damba