MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / send

Method send

mcp/src/client.ts:144–159  ·  view source on GitHub ↗
(
    body: {
      to: Array<string>;
      subject: string;
      body: string;
      htmlBody?: string;
      cc?: Array<string>;
      bcc?: Array<string>;
      attachments?: Array<Attachment>;
      conversationId?: string;
    },
    opts: SendOpts = {},
    explicitAddress?: string,
  )

Source from the content-addressed store, hash-verified

142 // ── Messages ────────────────────────────────────────────────────
143
144 send(
145 body: {
146 to: Array<string>;
147 subject: string;
148 body: string;
149 htmlBody?: string;
150 cc?: Array<string>;
151 bcc?: Array<string>;
152 attachments?: Array<Attachment>;
153 conversationId?: string;
154 },
155 opts: SendOpts = {},
156 explicitAddress?: string,
157 ): Promise<SendResultView> {
158 return this.sdk.messages.send(this.resolveAddress(explicitAddress), body, opts);
159 }
160
161 reply(
162 messageId: string,

Callers

nothing calls this directly

Calls 2

resolveAddressMethod · 0.95
sendMethod · 0.65

Tested by

no test coverage detected