Skip to content

API user/:user/submit not submitting E-Mail to Destination #984

@simonjenny

Description

@simonjenny

Hi

I am trying to send E-Mails trough the API submit Endpoint. Sending the E-Mail returns a 200 Response:

array:2 [▼
  "success" => true
  "message" => array:3 [▼
    "id" => 4411
    "mailbox" => "65c737bc2843a0f298280f43"
    "queueId" => "19c0bac501d000216b"
  ]
]

The E-Mail is also stored in the "Sent Emails" Folder of the used Account, but the E-Mail is never sent to the recipient.
Within Zone-MTA I get the following Error:

ERR! Plugins "WildDuck MSA" for "log:entry" failed with: TypeError: Cannot read properties of undefined (reading 'address')
ERR! Plugins     at Object.action (/app/node_modules/zonemta-wildduck/index.js:1223:54)
ERR! Plugins     at /app/node_modules/@zone-eu/wild-plugins/index.js:503:22
ERR! Plugins     at new Promise (<anonymous>)
ERR! Plugins     at PluginHandler.runHooksAsync (/app/node_modules/@zone-eu/wild-plugins/index.js:502:15)
ERR! Plugins     at PluginHandler.runHooks (/app/node_modules/@zone-eu/wild-plugins/index.js:547:10)
ERR! Plugins     at PluginHandler.remotelog (/app/node_modules/@zone-eu/wild-plugins/index.js:634:10)
ERR! Plugins     at /app/node_modules/@zone-eu/zone-mta/lib/mail-queue.js:507:53
ERR! Plugins     at /app/node_modules/mongodb/lib/utils.js:348:28
ERR! Plugins     at process.processTicksAndRejections (node:internal/process/task_queues:103:5)

The Payload sent to the Endpoint is:

{
    "to": [
        {
            "name": "Name of Contact",
            "address": "redacted@kuvvu.ch"
        }
    ],
    "subject": "Test",
    "html": "<p>E-Mail Body<\/p>"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions