reciepient email addrees

when I try to sent email following error happend

[b]

mail() [<a href=‘function.mail’>function.mail</a>]: SMTP server response: 503 Bad sequence of commands. You must specify the recipients of a message before you can send it[/b]

Please help me to solve the problem

please specify what code you have done which reflects this error !!!

oh thanx for quick reply… I solved the problem. It was text field name is not binded correctly…