Component busy error - WeOnlyDo Discussion board

Component busy error (wodSmtp)

by Alex, Monday, June 25, 2007, 15:57 (6362 days ago)

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

by woddrazen, Monday, June 25, 2007, 16:06 (6361 days ago) @ Alex

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

by Alex, Monday, June 25, 2007, 17:29 (6361 days ago) @ woddrazen

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

by wodDamir, Monday, June 25, 2007, 17:44 (6361 days ago) @ Alex

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