indy

why does my D2009 exe produce emails with attachments named ATTnnnnn.DAT

Why does my D2009 exe produce emails with attachments named ATTnnnnn.DAT when the same source code compiled in D2007 produces emails with attachments correctly named with the original file name? I am using the respective Indy libraries that come with D2007 and D2009. Not having the original file name on the attachment prevents users f...

Why can't Indy 10 initialize?

I have a problem with a Delphi 2009 project : It can't initialize Indy 10 ! This code worked fine before in Delphi 2007 (although we might have been using an older revision of Indy, but I suspect that has not much to do with it); The initial call to IdWinsock2.InitializeWinSock(), raises this exception (with error code 998) : Project E...

What is the proper way to update Delphi 2009's default installation of Indy 10?

Since Indy is now built-into the install process of Delphi 2009... is there a proper way to 'remove' it so it can be upgraded to the latest from the SVN repo? There isn't an automated option to remove it as far as I'm aware. ...

Why is Indy 9 included with Delphi 2009? Is it safe to use?

Why is there an Indy9 folder (The default install folder of C:\Program Files\CodeGear\RAD Studio\6.0\source\Indy contains subdirectories for "Indy9" and "Indy10") Why are both versions installed? What is using Indy9? I didn't think it had been updated for 2009...is Indy9 now safe to use with Delphi 2009? ...

Delphi SMTP component that supports UTF-8 or Unicode

It appears the Indy 10 SMTP component shipped with Delphi 2009 do not properly support unicode in the subject and body. Does anyone know of a good alternative, or has anyone made the necessary changes to Indy10 to solve this issue? Update: Thanks for all the answers, I've done a bit of investigation, and thought I might be able to so...

Delphi 2009, Indy 10, TIdTCPServer.OnExecute, how to grab all the bytes in the InputBuffer

Hi I am messing around with the Indy 10 supplied with Delphi 2009 and am having trouble with getting all the data from the IOHandler when OnExecute fires... procedure TFormMain.IdTCPServerExecute(AContext: TIdContext); var RxBufStr: UTF8String; RxBufSize: Integer; begin if AContext.Connection.IOHandler.Readable then begin ...

Indy 10 IdTCPClient Reading Data using a separate thread?

Hi All, Question: What I'm looking for is the most typical or best practice way to use a separate thread to receive data using an IdTCPClient in Indy 10. Background: The below code is a sample of what I'm trying to do with the actual data processing parts removed for clarity. The Idea of the Thread is to receive all data (Variable siz...

Measuring network traffic with Indy

Hello alltogether, I'm using a TIdTCPCmdServer to handle all communication with client applications. I would like my server to log all kind of stuff including network traffic. Is there any easy or clever way to see how much bytes the TCPCmdServer actually received and sent? I can only think of code like ASender.SendReply; Inc (FTraffic...

How to change Listener Thread Priority in Indy

Hi all! I use the TIdCmdTCPServer component of Indy 10 to realize my client-server application. The problem is that the request from clients can be fairly complicated and that the GUI part of my server application immediately loses responsiveness. From the Indy Documentation i got that Indy Creates and starts listener threads for B...

Indy Write Buffering / Efficient TCP communication

I know, I'm asking a lot of questions...but as a new delphi developer I keep falling over all these questions :) This one deals with TCP communication using indy 10. To make communication efficient, I code a client operation request as a single byte (in most scenarios followed by other data bytes of course, but in this case only one sin...

Indy HTTP: reading response content on a 403

I am having a problem using Indy HTTP (in Delphi) with the Google Contacts API. Please refer to the section "ClientLogin Response" on the following page: http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html The server returns a 403 when the authentication is incorrect or an error occurs... as expected. However, accordi...

Using data compression in communication between application and database?

Hi there, I have upcoming project where we need application to send data on compressed into database and to other application. The compression can use algorithm such as GZIP or ZLIB. Can somebody point me some help, especially for VCL component (or ActiveX) that can compress data traffic between communicating application and database? ...

Images aren't being displayed as embedded in email sent by my application

I'm trying to send an email with embedded images through a delphi application using Indy, but somehow it isn't working. I compared the contents of the email I sent with one sent from gmail, and everything seens fine, but I might be missing some little detail. Gmail shows the attached image of my email as a normal attachment, but it is ...

"SMTP incoming data timeout" when sending email with inline images using Indy 10 in Windows XP

I'm getting the error "SMTP incoming data timeout" when I try to send an email with inline images in Windows XP, I'm using the tiburon branch of Indy 10 with the following code to send emails with inline images: MB := TIdMessageBuilderHtml.Create; try MB.PlainText.Assign(Text); MB.Html.Assign(FHTML); MB.HtmlFile...

Delphi/Indy IdHttpServer not multithreaded?

I'm using Delphi 2006 and Indy 10. I create a form and drop down an IdHttpServer component. I make an OnCreate event for the form to set the server active, and I enter these lines for the server's OnCommandGet: procedure TForm3.IdHTTPServerCommandGet(AContext: TIdContext; ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPRespo...

What is difference between Indy 9 and Indy 10?

I am responsible for porting a Delphi 2007 application to C# and have absolutely no experience with Delphi. I am wondering what is the difference between the two Indy versions Delphi includes - Indy 9 and Indy 10. At this point I don't even know what an Indy is. Can someone help me out? Are they just different versions of the Delphi Libr...

Emulate incoming network messages for Indy

Is it possible to emulate incoming messages using Indy (if it's of any importance: I'm using Indy 10 and Delphi 2009)? I want to be able to create these messages locally and I want Indy to believe that they come from specific clients in the network. All the internal Indy handling (choice of the thread in which the message is received and...

How to build stand-alone SOAP web services using Delphi?

How can I build a stand-alone SOAP-based Web Services using Delphi? Must work with Delphi 2009, but it'd be nice if it worked with older ones too. The built-in WebBroker Web Services creates CGI or ISAPI. It would be nice to create a stand-alone executable that I can control from bottom to top, especially during development. ...

Install the latest build of Indy 10 on Delphi 2009

Is there a step-by-step guide for updating the Indy 10 components in Delphi 2009? I've read the uninstalling thread and have the latest build (IndyTiburon.zip). However there appears to be no installation instructions. If you have accomplished this, please share the details. Edit: I have managed to get the packages installed by messi...

Indy "Could not load SSL Library" with Delphi 2007/Apache

I know this question has been asked a number of times. I seem to have a bit of a different problem. In my situation after the exception is thrown initially it works fine (and no; I did not turn off exceptions). So what I have done is on the exception I simply repost: IdHTTP1.Post(....... I have put the libeay32.dll and ssleay32.dll ...