I have used thunder bird and i am able to send mails but while receiving it gives errors like

sending of username didnot succeed Mali server my_mail_server responded: only valid after entering TLS mode

can any one help me.