smtp/message: add documentation

This commit is contained in:
Zack Schuster 2020-05-26 00:42:19 -07:00
parent 3fe112fd79
commit ee1a7042f8
1 changed files with 4 additions and 0 deletions

View File

@ -150,6 +150,10 @@ export class Message {
}
/**
* Attach a file to the message.
*
* Can be called multiple times, each adding a new attachment.
*
* @public
* @param {MessageAttachment} options attachment options
* @returns {Message} the current instance for chaining