Doku durchsuchen
Menü
Geändert am Auf GitHub bearbeiten

neodesk mail-intake

Als Markdown kopieren

Tickets per E-Mail: die Postfächer, die der Server liest, ihr Test und ihr Protokoll.

Die Befehle stehen hier auf Englisch, so wie die Kommandozeile sie mit neodesk mail-intake --help zeigt. Die Flags, die jeder Befehl kennt, stehen in der Befehlsreferenz.

neodesk mail-intake create

Add a mailbox the server reads over IMAP. A mail to it opens a ticket, a reply becomes a comment.

Give the request body with -f key=value (text), -F key=json (numbers, true or false) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing. Fields: name, address (the support address, where answers go), host, port (993, or 143 with starttls), security (tls or starttls), tls_verify, username, password, folder (INBOX), enabled, confirm (mail the sender the ticket's number), priority and category (what a ticket from a mail starts with). The mailbox is read from the mails that arrive after it was added; older mail opens no tickets.

neodesk mail-intake create [flags]

Needs server.config; changes something: needs a token with read and write access. Calls POST /api/integrations/mail-intake/mailboxes.

neodesk mail-intake create -f name=Support -f address=support@example.com -f host=imap.example.com -f username=support@example.com -f password=...

neodesk mail-intake delete

Delete a mailbox. Its tickets stay, but get no more mails.

neodesk mail-intake delete <id> [flags]
Argument What it is
<id> The mailbox's ID (see mail-intake list)

Needs server.config; changes something: needs a token with read and write access; deletes or ends something for good, so it asks first unless --yes is given. Calls DELETE /api/integrations/mail-intake/mailboxes/{id}.

neodesk mail-intake list

List the mailboxes, with the password masked and how the last poll went.

neodesk mail-intake list [flags]

Needs server.config; only reads. Calls GET /api/integrations/mail-intake/mailboxes.

neodesk mail-intake log

List the newest mails a mailbox read and sent: what became of each and why.

neodesk mail-intake log <id> [flags]
Argument What it is
<id> The mailbox's ID (see mail-intake list)
Flag What it is
--limit N how many, at most 500 (default 100)

Needs server.config; only reads. Calls GET /api/integrations/mail-intake/mailboxes/{id}/log.

neodesk mail-intake run

Read a mailbox's new mails now instead of waiting for the next poll.

neodesk mail-intake run <id> [flags]
Argument What it is
<id> The mailbox's ID (see mail-intake list)

Needs server.config; changes something: needs a token with read and write access. Calls POST /api/integrations/mail-intake/mailboxes/{id}/run.

neodesk mail-intake show

Show one mailbox, with the password masked.

neodesk mail-intake show <id> [flags]
Argument What it is
<id> The mailbox's ID (see mail-intake list)

Needs server.config; only reads. Calls GET /api/integrations/mail-intake/mailboxes/{id}.

neodesk mail-intake test

Connect to a mailbox, sign in and open its folder; shows what the mail server answered.

neodesk mail-intake test <id> [flags]
Argument What it is
<id> The mailbox's ID (see mail-intake list)

Needs server.config; changes something: needs a token with read and write access. Calls POST /api/integrations/mail-intake/mailboxes/{id}/test.

neodesk mail-intake update

Change a mailbox. Give the fields to change; a password sent as ******** stays as it is.

Give the request body with -f key=value (text), -F key=json (numbers, true or false) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing. Fields: name, address (the support address, where answers go), host, port (993, or 143 with starttls), security (tls or starttls), tls_verify, username, password, folder (INBOX), enabled, confirm (mail the sender the ticket's number), priority and category (what a ticket from a mail starts with).

neodesk mail-intake update <id> [flags]
Argument What it is
<id> The mailbox's ID (see mail-intake list)

Needs server.config; changes something: needs a token with read and write access. Calls PATCH /api/integrations/mail-intake/mailboxes/{id}.

neodesk mail-intake update <id> -F enabled=false

Durchsucht Seiten, Abschnitte, Befehle und Einstellungen.