Re: Re: using smtp



Hi All,
Thanks for the tip Sergio.
I wanted to know how to send messages after adding them into queue using this api function tny_send_queue_add.
Do I misunderstand the pupose of this function?
Actually i used tny_transport_account_send to send messages and it worked well. Though I need to add non sent messages into queue in order to send them later.
Oh, another question about folder observer. I want to know if polling could be periodic or i need to implement it myself.
Thanks all.
BR
Mehdi.
2009/8/4 <tinymail-devel-list-request gnome org>
Send tinymail-devel-list mailing list submissions to
       tinymail-devel-list gnome org

To subscribe or unsubscribe via the World Wide Web, visit
       http://mail.gnome.org/mailman/listinfo/tinymail-devel-list
or, via email, send a message with subject or body 'help' to
       tinymail-devel-list-request gnome org

You can reach the person managing the list at
       tinymail-devel-list-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of tinymail-devel-list digest..."


Today's Topics:

  1. Re: using smtp (Sergio Villar Senin)


----------------------------------------------------------------------

Message: 1
Date: Mon, 03 Aug 2009 17:07:21 +0200
From: Sergio Villar Senin <svillar igalia com>
Subject: Re: using smtp
To: tinymail-devel-list gnome org
Message-ID: <4A76FD29 5010103 igalia com>
Content-Type: text/plain; charset=ISO-8859-1

Hi Mehdi,

there is indeed a function where tinymail reports connection and
authentication errors that come from Camel. That is the alert() function
and you should have it in the TnyAccountStore you're using. You must
redefine it. If you're using an already defined one, like the one in
libtinymail-maemo/tny-maemo-account-store.c or the one in
libtinymail-gnome-desktop/tny-gnome-account-store.c they have already
redefined the alert function.

Br

mehdi bayarassou escribiu:
> Hi all,
> I have difficulties connecting to smtp severs. I want to know is there
> any function in tinymail to indicate what type of error I had? (I know
> that there is a callback called alert but I don't know when this
> function is called exactly)
> When I try to connect to my smtp account the set online callback is
> called but not the get_password one? Is smtp account authentication
> different from store accounts?
> Can someone help me please. (Suggestions for smtp server accounts
> creation are welcome :D)
> Thanks
> Best regards
> Mehdi.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> tinymail-devel-list mailing list
> tinymail-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/tinymail-devel-list



------------------------------

_______________________________________________
tinymail-devel-list mailing list
tinymail-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/tinymail-devel-list


End of tinymail-devel-list Digest, Vol 42, Issue 1
**************************************************



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