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 4024966
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:47:16+00:00 2026-05-20T10:47:16+00:00

I want to setup an asynchronous email service via amazon simple email service, but

  • 0

I want to setup an asynchronous email service via amazon simple email service, but i’ve some big problems:

new Ajax.Request('https://email.us-east-1.amazonaws.com/?Action=SendEmail&Source=myemail@domain.com&Destination.ToAddresses.member.1=mydestination@domain.com&Message.Subject.Data=This%20is%20the%20subject%20line.&Message.Body.Text.Data=Hello.%20I%20hope%20you%20are%20having%20a%20good%20day.',
    {
   method: 'get',
   requestHeaders: {"Date": +res["result"]["date"],
                    "X-Amzn-Authorization":"AWS3-HTTPS",
                    "AWSAccessKeyId":"myaccesskey",
                    "SignatureMethod":"mysignature"
                    "Signature":+res["result"]["auth"]},

i have an 403 error so i’m wondering what’s happened from amazon.

Date is gmdate('D, d M Y H:i:s e') and is correct.
Signature come from hash_hmac('sha256', $date, 'exampleofsignature', false));

Could you help me please. I really appreciate that you post examples.

  • 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-20T10:47:17+00:00Added an answer on May 20, 2026 at 10:47 am

    i finally bypassing the problem.

    Here’s the code:

    $headers = array();
        $headers[]= "X-Amzn-Authorization: AWS3-HTTPS AWSAccessKeyId=XXXXXXXXXXXXXX, Algorithm=HmacSHA256, Signature=".$auth;
        $headers[]= "Date: ".$date;
        $curl = curl_init('https://email.us-east-1.amazonaws.com/?Action=SendEmail&Source=contact@enterprise.com&Destination.ToAddresses.member.1='.$contact['email'].'&Message.Subject.Data='.rawurlencode($subject).'&Message.Body.Text.Data='.rawurlencode($body));
          curl_setopt($curl, CURLOPT_USERAGENT, 'anUserAgent');
          curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
          curl_setopt($curl, CURLOPT_HEADER, false);
          curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
        if (curl_exec($curl)) {
          S('log')->debug(curl_getinfo($curl, CURLINFO_HTTP_CODE));
        } else {
          S('log')->debug(curl_error($curl));
        }
    

    … i execute this code behind an javascript button action providing a form

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to setup a statistics monitoring platform to watch a specific service, but
I want to setup a simple site and I don't have any web development
I want to setup a serialized task queue using NSOperationQueue but I'm a little
I want my setup.py to do some custom actions besides just installing the Python
I want to setup a couple of functions in Lua for scripters but when
How can I set up an asynchronous web service in asp.net? I want to
I want to setup a simple shopping cart using PHP, only 2 items, I
I want to setup a WPF Application. But instead of using the entry point
I want to setup a simple IIS site which will basically be the standard
I want setup an administration panel in my project in cp directory. But I

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.