Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Beskrivning

API EmailSender är en tjänst för att skicka e-post, inklusive bilagor om så önskas.

Ändringslogg

Version 1.1 - 2024-01-16

Stöd för Message-ID, In-Reply-To & References headers har lagts till. Syftet med dessa är att stödja mejltrådar och följer standard enligt https://datatracker.ietf.org/doc/html/rfc5322.

Livscykelstatus

Under utveckling.Produktion

Lösningsbeskrivning

Gliffy
https://sundsvall.atlassian.net/wiki
imageAttachmentIdatt969736195
baseUrlhttps://sundsvall.atlassian.net/wiki
macroId4610a104-b1b2-472e-a55e-17f65fb770e7baseUrl
displayNameEmailSender example
nameEmailSender example
diagramAttachmentIdatt970096641
containerId892436509
pagePin1
timestamp16480279031431651133614781

Hantering av personuppgifter

Inga personuppgifter hanteras i tjänsten.

API-specifikation

openapi: 3.0.1 info: title: EmailSender contact: {} license: name: MIT License url: https://opensource.org/licenses/MIT version: "1.0" servers: - url: / paths: /send/email: post: tags: - email-controller summary: Send an Email operationId: sendMail requestBody: content: application/json: schema: $ref: '#/components/schemas/EmailRequest' required: true responses: "200": description: Successful Operation "400": description: Bad Request content: '*/*': schema: $ref: '#/components/schemas/Problem' "500": description: Internal Server Error content: '**': schema: $ref: '#/components/schemas/Problem' /: get: tags: - API summary: OpenAPI operationId: getApiDocs responses: "200": description: OK content: application/yaml: schema: type: string x-auth-type: None x-throttling-tier: Unlimited x-wso2-mutual-ssl: Optional security: - ApiKeyAuth: [] components: schemas: Attachment: type: object properties: content: type: string description: The attachment (file) content as a BASE64-encoded string example: aGVsbG8gd29ybGQK name: type: string description: The attachment filename example: test.txt contentType: type: string description: The attachment content type example: text/plain description: Attachments EmailRequest: required: - emailAddress - senderEmail - senderName - subject type: object properties: emailAddress: type: string description: Recipient e-mail address example: recipient@recipient.se subject: type: string description: E-mail subject message: type: string description: E-mail plain-text body htmlMessage: type: string description: E-mail HTML body (BASE64-encoded) senderName: type: string description: Sender name senderEmail: type: string description: Sender e-mail address example: sender@sender.se attachments: type: array description: Attachments items: $ref: '#/components/schemas/Attachment' Problem: type: object properties: instance: type: string format: uri type: type: string format: uri parameters: type: object additionalProperties: type: object status: $ref: '#/components/schemas/StatusType' title: type: string detail: type: string StatusType: type: object properties: statusCode: type: integer format: int32 reasonPhrase: type: string securitySchemes: ApiKeyAuth: type: apiKey in: header name: apikey
Swagger ui
Open api
showCommonExtensionstrue
deepLinkingtrue
supportedSubmitMethodsnone
locationurl
showExtensionstrue
urlhttps://api-test.sundsvall.se/email-sender
/
api-docs


Säkerhetsklassning

Säkerhetsklass 1

Autentiseringsmetod: Oauth2

(Ref: Säkerhetsklassning av APIer )

API-ägare

<Kontaktuppgifter till den verksamhet som äger APIets livscykel>

Teknisk ägare

https://sundsvall.atlassian.net/wiki/spaces/API

För tekniska frågor: teamdynasty@sundsvall.se

Länkar

FAQ

<FAQ>

Källkod

https://github.com/OpenSundsvall/api-service-email-sender