Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6682621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:43:40+00:00 2026-05-26T04:43:40+00:00

I am having issues posting to Amazon’s SES Service using Indy’s TIdHTTP. Here is

  • 0

I am having issues posting to Amazon’s SES Service using Indy’s TIdHTTP.

Here is an example of the code i am using:

procedure TMainFrm.btnAmazonSESClick(Sender: TObject);
var
  SSLHandler: TIdSSLIOHandlerSocket;
  HttpClient: TIdHTTP;  
  Params: TStringStream;
begin
  SSLHandler := TIdSSLIOHandlerSocket.Create(Self);
  HttpClient := TIdHTTP.Create(Self);  
  Params := TStringStream.create('');
  try
    with SSLHandler do
      SSLOptions.Method := sslvSSLv3
    with HttpClient do
    begin
      IOHandler := SSLHandler;
      AllowCookies := True;
      HandleRedirects := True;
      HTTPOptions := [hoForceEncodeParams];
      Request.ContentType := 'application/x-www-form-urlencoded';
    end;

    PageMemo.Text := HttpClient.Post('https://email.us-east-1.amazonaws.com?Action=VerifyEmailAddress&AWSAccessKeyId=012Some123Key46&EmailAddress=test@test%2Ecom', Params);

  finally
    SSLHandler.Free;
    HttpClient.Free; 
    Params.Free;
  end;
end;

Result

  • Under Indy 10.5.7 I get the error: HTTP/1.1 404 Not Found

  • Under Indy 9.0.14 I get the error: Socket Error # 11004

Debugging Trials

  • This same demo can successfully GET the HTML from an HTTPS web page.

  • If i paste the URL above into a browser it displays the expected XML result.

I would appreciate any advice on the cause.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:43:41+00:00Added an answer on May 26, 2026 at 4:43 am

    This post is just an incomplete wild guess.

    Maybe Remy might help you to correct it. With the following code I’m getting HTTP/1.1 400 Bad Request but I’m not wondering because the API reference talks about Common Query Parameters where is at least required the digital signature you’ll create for the request what I don’t know how to do.

    I can’t test this at all because I have no account there. But I think the

    procedure TForm1.Button1Click(Sender: TObject);
    var
      HTTPClient: TIdHTTP;
      Parameters: TStrings;
      SSLHandler: TIdSSLIOHandlerSocketOpenSSL;
    
    begin
      SSLHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil);
      HTTPClient := TIdHTTP.Create(nil);
      Parameters := TStringList.Create;
    
      try
        SSLHandler.SSLOptions.Method := sslvSSLv3;
        SSLHandler.SSLOptions.Mode := sslmUnassigned;
    
        HTTPClient.IOHandler := SSLHandler;
        HTTPClient.HTTPOptions := [hoForceEncodeParams];
        HTTPClient.Request.ContentType := 'application/x-www-form-urlencoded';
    
        Parameters.Add('Action=VerifyEmailAddress');
        Parameters.Add('EmailAddress=test@test.com');
        Parameters.Add('AWSAccessKeyId=012Some123Key46');
        Parameters.Add('SignatureVersion=2');
        Parameters.Add('Expires='); // ???
        Parameters.Add('Signature='); // ???
    
        PageMemo.Text := HTTPClient.Post('https://email.us-east-1.amazonaws.com', Parameters);
    
      finally
        SSLHandler.Free;
        HTTPClient.Free; 
        Parameters.Free;
      end;
    end;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having issues posting a model to a controller action using the AJAX helper.
I'm having issues with my SQL Reporting Services reports. I'm using a custom font
I'm having issues creating an ActionLink using Preview 5. All the docs I can
I'm having some issues with double-posting on my site. I figure a simple unique
I'm having an issue with an ajax call using jQuery. I am posting information
I am using asp.net MVC and I am having an issue posting a form
I'm having problem posting a share to LinkedIn from my Android application. I'm using
Having issues referencing $(this) from within a the nested ajax 'success' function... I know
Still having issues with this problem. Please help if you can. So I am
Im having issues getting this to work, maybe its not even possible? I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.