Re: tinymail-devel-list Digest, Vol 41, Issue 3



Hi all,
Thanks for the precious help, but i am back with my annoying questions.
I keep getting Connection timeout error on imap.gmail.com
is there any config to do to connect to it?
Excuse me for keeping asking the same question but i am a little bit blocked on this point.
Thanks for all
BR
Mehdi

2009/7/7 <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: troubles when using imap (mehdi bayarassou)
  2. Re: troubles when using imap (Sergio Villar Senin)


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

Message: 1
Date: Mon, 6 Jul 2009 19:19:24 +0200
From: mehdi bayarassou <mehdibayarassou gmail com>
Subject: Re: troubles when using imap
To: shyam shrivastav azingo com
Cc: tinymail-devel-list gnome org
Message-ID:
       <d97abe020907061019l6926e3dx178337ad6d9d49e7 mail gmail com>
Content-Type: text/plain; charset="iso-8859-1"

Can someone please help me it is quite urgent, is there any mistake in what
i wrote.
I use tny_camel_account_set_online to connect.


2009/7/6 Shyam Shrivastav <shyam shrivastav azingo com>

> Gmail imap is working for me. Please set option use_ssl = wrapped. Also
> we din't set any other option.
>
> On Sun, 2009-07-05 at 17:25 +0100, mehdi bayarassou wrote:
> > hello,
> > I have some trouble connecting to imap gmail account using tinymail.
> > i have the following error
> >
> > ** (process:8180): WARNING **: err: Failed to connect to IMAP server
> > imap.gmail.com: Reading IMAP greeting failed
> >
> > here is how i configured my account
> >         account = TNY_ACCOUNT (tny_camel_store_account_new ());
> >
> >         tny_camel_account_set_session (TNY_CAMEL_ACCOUNT (account),
> > priv->session);
> >         camel_session_set_online ((CamelSession*)priv->session,
> > priv->force_online);*
> >
> >         tny_account_set_proto (account, "imap");
> >         tny_account_set_name (account, "my_test");
> >         tny_account_set_user (account, "test_account_0");
> >         tny_account_set_hostname (account, "imap.gmail.com");
> >         tny_account_set_port (account, "993");
> >         tny_account_set_id (account, "test_account_0 gmail com");
> >
> >         TnyPair *option_security;
> >         option_security = tny_pair_new ("use_lsub", "");
> >         tny_camel_account_add_option (TNY_CAMEL_ACCOUNT (account),
> > option_security);
> >         g_object_unref (option_security);
> >         option_security = tny_pair_new ("check_all", "");
> >         tny_camel_account_add_option (TNY_CAMEL_ACCOUNT (account),
> > option_security);
> >         g_object_unref (option_security);
> >         option_security = tny_pair_new ("use_ssl", "");
> >         tny_camel_account_add_option (TNY_CAMEL_ACCOUNT (account),
> >         option_security);
> >         g_object_unref (option_security);
> >         tny_account_set_forget_pass_func (account,
> > per_account_forget_pass);
> >         tny_account_set_pass_func (account, per_account_get_pass);
> > Can someone please help me.
> > I have another question, i want to implement a periodic check on a
> > list of account. Does tnymail have a pre implemented mechanism that
> > can help me to do this.
> > Thanks for reading my email looking forward for a response.
> > BR.
> > Mehdi
> >
> > _______________________________________________
> > tinymail-devel-list mailing list
> > tinymail-devel-list gnome org
> > http://mail.gnome.org/mailman/listinfo/tinymail-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.gnome.org/archives/tinymail-devel-list/attachments/20090706/caa5feea/attachment.html>

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

Message: 2
Date: Tue, 07 Jul 2009 11:19:53 +0100
From: Sergio Villar Senin <svillar igalia com>
Subject: Re: troubles when using imap
To: tinymail-devel-list <tinymail-devel-list gnome org>
Message-ID: <4A532149 8030102 igalia com>
Content-Type: text/plain; charset=ISO-8859-1

mehdi bayarassou escribiu:
> hello,
> I have some trouble connecting to imap gmail account using tinymail.

This line is the problem

>         option_security = tny_pair_new ("use_lsub", "");

You have to use something like this

option_security = tny_pair_new ("use_lsub", "wrapped");

Br


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

_______________________________________________
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 41, Issue 3
**************************************************



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