Board index » delphi » Problems with INDY 10
billybillybillboy
Delphi Developer |
Problems with INDY 102005-05-18 04:02:58 AM delphi47 Hi. Info: D7 Pro, INDY 10, WINDOWS XP PRO. I created a program that sends a basic e-mail. Here is the code: ================================================= with IdMsg do begin clear; MessageParts.Clear; contentType := 'mutipart/mixed'; with TidText.Create(MessageParts) do begin ContentType := 'text/plain'; Body.Text := 'some text ' end; From.name := 'My name'; From.Address := 'XXXX@XXXXX.COM'; Recipients.EMailAddresses := 'XXXX@XXXXX.COM'; Subject := 'my subject ' end; try IdSMTP1.Host:= 'xxx.xx.xxx.xx'; IdSMTP1.Connect; try IdSMTP1.Send(IdMsg); finally IdSMTP1.Disconnect; end; except end; showmessage('done'); ============================================== When I send this message, I get the following: ================================================ RCPT TO:<XXXX@XXXXX.COM> DATA DATA From: "xxxxx" <XXXX@XXXXX.COM> Subject: my subject To: XXXX@XXXXX.COM MIME-Version: 1.0 Date: Tue, 17 May 2005 15:30:00 -0400 Content-Type: text/plain ; Content-Transfer-Encoding: quoted-printable some text =============================================== I also get a text file which details the problems with the message. Here is the contents of the text file ================================================ Reporting-MTA: dns; tomts37.bellnexxia.net Arrival-Date: Tue, 17 May 2005 15:30:49 -0400 Received-From-MTA: dns; mike (69.157.174.167) Final-Recipient: RFC822; <XXXX@XXXXX.COM> Action: failed Status: 5.1.1 Remote-MTA: dns; clarisys.ca (216.67.250.78) Diagnostic-Code: smtp; 550 Administrative prohibition ================================================= The kicker of all this is that the same program works from different machines. However, those machines have different versions of Windows. What could the problem be? Has anyone ever seen anything like this before? HELP ME PLEASE!!! Thanks a lot. Mike. |