Advertisement

09.09.2008 at 11:12AM PDT, ID: 23716580
[x]
Attachment Details

Indy 10 problems with SSL DLLs (libeay32.dll & ssleay32.dll)

[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.3
Tags:

Internet Direct, Indy Components For Delphi, 10, SMTP via SSL, Delphi, 6, libeay32.dll, ssleay32.dll

I've recently upgraded to Indy 10 and I'm having some issues with SMTP via SSL. My most frustrating problem has been locating the appropriate version of the libeay32 & ssleay32 DLLs. I looked around on my machine and found several different versions installed with various applications, but when I tried using these DLLs from my app I found out that some versions did not have implementations for all of the functions Indy 10 needs (GetProcAddress returns nil). After trying a few different pairs of these DLLs from software already installed on my machine, I finally found a pair that had implementations for all of the functions Indy 10 attempts to link (in the \Softland\Backup4All app folder of all places). These DLLs almost work; actually they did work... ONCE out of twenty times (the other 19 times, the SMTP.Send failed citing 'Syntax error. k2sm18273845rvb.1' (the scrambled text at the end changes on every failed attempt, I'll attach HTML logs to this post: the one successful attempt and one of the failed attempts).

I tried locating the latest and greatest versions available on the web and finally found compiled copies of the OpenSSL 0.9.8h DLLs @ www.slproweb.com/products/Win32OpenSSL.html. Yay! (I thought at the time) Nay! (said my computer). When I attempt to load the 0.9.8h DLLs with LoadLibrary, the handle returned is zero. Does anyone have a clue as to what I need to do here. I would gladly hop on one foot singing Yankee Doodle Dandy wearing an aluminum foil hat at this point (if it would help).

Thanks
BK
Attachments:
 
Screen capture of successful SMTP.Send
Screen capture of successful SMTP.Send
 
 
Screen capture of failed SMTP.Send
Screen capture of failed SMTP.Send
 
Answered By: ciuly
Expert Since: 02/04/2004
Accepted Solutions: 1338
Computer Expertise: Advanced
ciuly has been an Expert for 4 years 11 months, during which he has posted 6584 comments and answered 1338 questions. ciuly is just one of 282 experts in the Delphi Programming Language Zone. 1 expert collaborated on this answer, which was graded an "A" by the asker.
 
 
20081119-EE-VQP-47 / EE_QW_2_20070628