Announcement

Collapse
No announcement yet.

Amazon AWS SES - Simple Email Service

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Amazon AWS SES - Simple Email Service

    We moved to ESPO from Sendy which recommends and integrates with AWS SES.

    AWS SES modifies the return path so it captures all bounces and then expects to report these back to you via what they call a topic - which is an HTTP API call.

    This is how you set it up in AWS https://sendy.co/get-started?old

    What are the chances of ESPO implementing support for SES bounce handling?

    Kind regards

    Olof

  • #2
    You can have the bounce notification sent to a nominated email address in which case the email contains this body:


    {"notificationType":"Bounce","bounce":{"bounceT ype ":"Permanent","bounceSubType":"General","bounc edRe cipients":[{"emailAddress":"sdfsdfw3fhskjshdkjhfseiwhkjhf@ gma il.com","action":"failed","status":"5.1.1","diagno sticCode":"smtp; 550-5.1.1 The email account that you tried to reach does not exist. Please try\n550-5.1.1 double-checking the recipient's email address for typos or\n550-5.1.1 unnecessary spaces. Learn more at\n550 5.1.1 https://support.google.com/mail/?p=NoSuchUser o129si2505516wma.216 - gsmtp"}],"timestamp":"2020-06-09T11:33:03.973Z","feedbackId":"0102017298daed2f-ce68d16b-363f-4da4-92e1-98b4fda5bdd0-000000","remoteMtaIp":"74.125.193.26","reportingMT A":"dsn; a4-21.smtp-out.eu-west-1.amazonses.com"},"mail":{"timestamp":"2020-06-09T11:33:03.000Z","source":"support@domain.co.uk", "sourceArn":"arn:aws:ses:eu-west-1:307468485853:identity/domain.co.uk","sourceIp":"167.98.58.62","sendingAc countId":"307468485853","messageId":"0102017298dae b80-a81110bc-9e87-434c-9446-f481bc4ae61c-000000","destination":["sdfsdfw3fhskjshdkjhfseiwhkjhf@gmail.com"],"headersTruncated":false,"headers":[{"name":"Received","value":"from espocrm.domain.local ([167.98.58.62]) by email-smtp.amazonaws.com with SMTP (SimpleEmailService-d-H707KCMP3) id mPpxbQDFHicnKl1Z5Arq for sdfsdfw3fhskjshdkjhfseiwhkjhf@gmail.com; Tue, 09 Jun 2020 11:33:03 +0000 (UTC)"},{"name":"Date","value":"Tue, 09 Jun 2020 11:33:02 +0000"},{"name":"X-Queue-Item-Id","value":"5edf736ec1edc313c"},{"name":"Preced en ce","value":"bulk"},{"name":"List-Unsubscribe","value":"<https://sugar.domain.co.uk?entryPoin...cribe&id=5edf7 36ec1edc313c>"},{"name":"From","value":"domain <support@domain.co.uk>"},{"name":"Sender","value ": "<support@domain.co.uk>"},{"name":"To","value" :"sd fsdfw3fhskjshdkjhfseiwhkjhf@gmail.com"},{"name":"S ubject","value":"Product Update: CORE 4.12.0 released"},{"name":"MIME-Version","value":"1.0"},{"name":"Content-Type","value":"multipart/alternative; boundary="=_d6817ef7e0de4a289a668a63706be178""}, {"name":"Message-ID","value":"<514aff792f735f8c4ba5667c54394772/1591702382/1945@espo>"}],"commonHeaders":{"from":["domain <support@domain.co.uk>"],"sender":"support@domain.co.uk","date":"Tue, 09 Jun 2020 11:33:02 +0000","to":["sdfsdfw3fhskjshdkjhfseiwhkjhf@gmail.com"],"messageId":"<514aff792f735f8c4ba5667c54394772/1591702382/1945@espo>","subject":"Product Update: CORE 4.12.0 released"}}}

    --
    If you wish to stop receiving notifications from this topic, please click or visit the link below to unsubscribe:


    Please do not reply directly to this email. If you have any questions or comments regarding this email, please contact us at https://aws.amazon.com/support

    Comment


    • #3
      I'm also getting the following error when trying to change the outbound email config to try VERP.

      [2020-06-09 11:47:42] Espo.WARNING: E_WARNING: rename(data/config.php): failed to open stream: Permission denied {"code":2,"message":"rename(data/config.php): failed to open stream: Permission denied","file":"/usr/share/nginx/html/application/Espo/Core/Utils/File/Manager.php","line":246} []
      [2020-06-09 11:47:42] Espo.WARNING: E_WARNING: rename(/tmp/tmp4FdrWs,data/config.php): Permission denied {"code":2,"message":"rename(/tmp/tmp4FdrWs,data/config.php): Permission denied","file":"/usr/share/nginx/html/application/Espo/Core/Utils/File/Manager.php","line":246} []
      [2020-06-09 11:47:42] Espo.WARNING: E_WARNING: file_put_contents(data/config.php): failed to open stream: Permission denied {"code":2,"message":"file_put_contents(data/config.php): failed to open stream: Permission denied","file":"/usr/share/nginx/html/application/Espo/Core/Utils/File/Manager.php","line":215} []
      [2020-06-09 11:47:42] Espo.ERROR: (500) Cannot save settings; PUT /api/v1/Settings; line: 209, file: /usr/share/nginx/html/application/Espo/Services/Settings.php [] []

      Comment

      Working...
      X