Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Email Client example for D5 & Indy9

Posted on 2006-10-23
3
Medium Priority
?
327 Views
Last Modified: 2010-04-04
Does anyone have example code for an email client (send & receive - with attachments) that will compile in Delphi 5 with Indy 9?  The only example I can find right now purports to be Indy9/10 and D7 and I get loads of errors and unknown properties when I try to bring it up in D5/Indy9.  This is urgent, so I'll give 500 points to anyone who can point me to a project download that will compile without hastle in D5/I9  (must handle attachments)
0
Comment
Question by:DMTrump
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 
LVL 17

Expert Comment

by:TheRealLoki
ID: 17792264
here's a list of errors I get with the indy 9 demo above in my basic delphi 5, indy 9 build
and notes on how I fixed them

Firstly, remove teh "readonly" attribute from the Main.pas file

"can not find MailDemo.res. Recreated" (ignore, this is fine)

"pnlAttachments.DesignSize" (ignore)
"Msg.DeleteTempFiles" (ignore)

replace
"IncludeTrailingPathDelimiter"
with
"IncludeTrailingbackslash"

replace
   "if not DirectoryExists(FAttachPath) then ForceDirectories(FAttachPath);"
with
   "ForceDirectories(FAttachPath);"
and add 'FileCtrl' to the uses clause at the top of the unit

hth, Loki
0
 
LVL 17

Accepted Solution

by:
TheRealLoki earned 2000 total points
ID: 17792276
also make sure you open up the "setup.pas" file in delphi and ignore the "DesignSize" error there.
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question