Re: help : Required for send mail error for second time onwards



Hello sergio,

  Thanks for replaying ,

 We are not getting any callback from tinymail after calling
add_async( ) in failure cases.
Below are the last debug logs from the Tinymail:

TnyCamelQueue: tny_camel_folder_get_headers_async_default is on the
stage, now performing
TnyCamelQueue: user callback starts

Thanks
Sunil





On 5/19/09, Sergio Villar Senin <svillar igalia com> wrote:
> sunil kumar escribiu:
>> Hello ,
>>
>> I am developing a simple application for Tinymail 0.0.9.
>> Using my application, I could successfully able to send an email using
>> SMTP server for the first time.
>> However I wouldn’t able to send an email from subsequent time onwards.
>>
>> I am using tny_send_queue_add_async( ) to add my message into Queue.
>> It is seen that in the failed case (i.e from the second time onwards),
>> the tny_send_queue_add_async( ) function doesn’t generate the any
>> signals like “queue-start”, “queue-stop” , “msg-sent” etc.
>
> Hi,
>
> and what do you get in the callback of add_async() ?
>
> That callback provides 2 important arguments, the first one is the
> cancelled, a boolean that specifies if the addition was canceled or not.
> And the second one is obviously the GError. What are the values of
> err->code and err->message ?
>
> Br
>


-- 
<a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=129956&amp;t=86";><img
border="0" alt="Get Firefox!" title="Get Firefox!" src="
http://sfx-images.mozilla.org/affiliates/Buttons/125x50/takebacktheweb_125x50.png"/></a>


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