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

Method forward

mcp/src/client.ts:183–203  ·  view source on GitHub ↗
(
    messageId: string,
    to: Array<string>,
    body: {
      body: string; // required (MSG-3): forward must carry a note; subject is derived
      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

181 }
182
183 forward(
184 messageId: string,
185 to: Array<string>,
186 body: {
187 body: string; // required (MSG-3): forward must carry a note; subject is derived
188 htmlBody?: string;
189 cc?: Array<string>;
190 bcc?: Array<string>;
191 attachments?: Array<Attachment>;
192 conversationId?: string;
193 },
194 opts: SendOpts = {},
195 explicitAddress?: string,
196 ): Promise<SendResultView> {
197 return this.sdk.messages.forward(
198 this.resolveAddress(explicitAddress),
199 messageId,
200 { to, ...body },
201 opts,
202 );
203 }
204
205 updateMessageLabels(
206 messageId: string,

Callers 1

registerMessageToolsFunction · 0.45

Calls 1

resolveAddressMethod · 0.95

Tested by

no test coverage detected