Cloud Mail 2020 Node.js Edition

Questions / Feedback?

MessagePart Event

Fired when a message part is retrieved from the server.

Syntax

gmail.on('MessagePart', [callback])

Callback

The 'callback' is called when the 'MessagePart' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.id
e.attachmentId
e.filename
e.contentType
e.size
e.data

Remarks

The MessagePartList event is fired for each message part retrieved from the server when ListMessages or ListDrafts is called.

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Mail 2020 Node.js Edition - Version 20.0 [Build 8308]