RE: Ask one question



On Fri, 2008-12-26 at 17:22 +0800, Zhang, Jingke wrote:
> Philip Van Hoof wrote:
> > On Fri, 2008-12-26 at 11:41 +0800, Zhang, Jingke wrote:
> >> Hi all,
> >>     I am a newer to tinymail community. When I use TnySendQueue API,
> >> I found a signal "error_happen" (of TnySendQueueIface) can not be
> >> triggered, even if we send a msg to wrong mail address.
> > 
> > Sending to a wrong E-mail address wont make the SMTP server error, it
> > will make the SMTP server retry until it fails, and then you'll
> > receive a failure message on your TO address.
> 
> I see. Thanks! I am trying to give a test for it.
> So, "error_happen" means "network connection is suddenly lost"? Just the actoins unable to be controlled by program?
> If it can be controlled, by what action can I get the "error_happen" signal immediately? Thanks!

You can't, it's a queue so things happen asynchronously. Therefore also
the errors.


-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]