Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error when sending mail with NMSmtp component

Status
Not open for further replies.

samibami

Programmer
Oct 12, 2003
28
IL
hi there ...

i'm using bcb5 to create a mail program.i use "fast net" component called "NMSmtp".i configured host name to b "mail" .the problem accures when i try to send mail between 2 diffrent mail accounts.

i.e :

NMSMTP1->PostMessage->FromName="my name";
NMSMTP1->PostMessage->ToAddress->Text =
"hisaddress@hotmail.com";
NMSMTP1->PostMessage->FromAddress ="myaddress@doal.co.il";
NMSMTP1->PostMessage->Subject = "whatever";
NMSMTP1->PostMessage->Body->Add(Memo1->Text);
NMSMTP1->Connect();


i get "503 no recipient(s)" error message.
what is the problem here?

sometimes i get "header incomplete" error message.
what does it mean?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top