<div dir="ltr">Can someone please help me it is quite urgent, is there any mistake in what i wrote.<br>I use tny_camel_account_set_online to connect.<br><br><br><div class="gmail_quote">2009/7/6 Shyam Shrivastav <span dir="ltr"><<a href="mailto:shyam.shrivastav@azingo.com">shyam.shrivastav@azingo.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Gmail imap is working for me. Please set option use_ssl = wrapped. Also<br>
we din't set any other option.<br>
<div><div></div><div class="h5"><br>
On Sun, 2009-07-05 at 17:25 +0100, mehdi bayarassou wrote:<br>
> hello,<br>
> I have some trouble connecting to imap gmail account using tinymail.<br>
> i have the following error<br>
><br>
> ** (process:8180): WARNING **: err: Failed to connect to IMAP server<br>
> <a href="http://imap.gmail.com" target="_blank">imap.gmail.com</a>: Reading IMAP greeting failed<br>
><br>
> here is how i configured my account<br>
> account = TNY_ACCOUNT (tny_camel_store_account_new ());<br>
><br>
> tny_camel_account_set_session (TNY_CAMEL_ACCOUNT (account),<br>
> priv->session);<br>
> camel_session_set_online ((CamelSession*)priv->session,<br>
> priv->force_online);*<br>
><br>
> tny_account_set_proto (account, "imap");<br>
> tny_account_set_name (account, "my_test");<br>
> tny_account_set_user (account, "test_account_0");<br>
> tny_account_set_hostname (account, "<a href="http://imap.gmail.com" target="_blank">imap.gmail.com</a>");<br>
> tny_account_set_port (account, "993");<br>
> tny_account_set_id (account, "<a href="mailto:test_account_0@gmail.com">test_account_0@gmail.com</a>");<br>
><br>
> TnyPair *option_security;<br>
> option_security = tny_pair_new ("use_lsub", "");<br>
> tny_camel_account_add_option (TNY_CAMEL_ACCOUNT (account),<br>
> option_security);<br>
> g_object_unref (option_security);<br>
> option_security = tny_pair_new ("check_all", "");<br>
> tny_camel_account_add_option (TNY_CAMEL_ACCOUNT (account),<br>
> option_security);<br>
> g_object_unref (option_security);<br>
> option_security = tny_pair_new ("use_ssl", "");<br>
> tny_camel_account_add_option (TNY_CAMEL_ACCOUNT (account),<br>
> option_security);<br>
> g_object_unref (option_security);<br>
> tny_account_set_forget_pass_func (account,<br>
> per_account_forget_pass);<br>
> tny_account_set_pass_func (account, per_account_get_pass);<br>
> Can someone please help me.<br>
> I have another question, i want to implement a periodic check on a<br>
> list of account. Does tnymail have a pre implemented mechanism that<br>
> can help me to do this.<br>
> Thanks for reading my email looking forward for a response.<br>
> BR.<br>
> Mehdi<br>
><br>
</div></div>> _______________________________________________<br>
> tinymail-devel-list mailing list<br>
> <a href="mailto:tinymail-devel-list@gnome.org">tinymail-devel-list@gnome.org</a><br>
> <a href="http://mail.gnome.org/mailman/listinfo/tinymail-devel-list" target="_blank">http://mail.gnome.org/mailman/listinfo/tinymail-devel-list</a><br>
<br>
</blockquote></div><br></div>