I am creating an email client using c++ builder 6, but am having problems with the NMSMTP component. I am specifying the recipients address (using the NMSMTP1->PostMessage->ToAddress->Text=Edit1->Text; command) but am getting the error - '503 no recipient(s).' when I try to send an email. The program stops when it tries to run the NMSMTP1->SendMail(); command.
Any help would be greatly appreciated.