Remove incorrect @deprecated annotation.

The correct strategy is:

1. Only sync. (Current)
2. Both sync and async (with a suffix).
3. Only async (without a suffix).

Thank you! @StorytellerCZ and @radekmie
This commit is contained in:
Edimar Cardoso
2022-07-28 11:57:53 -03:00
parent 6bc5b0a628
commit 866fa2093d

View File

@@ -231,7 +231,6 @@ Email.customTransport = undefined;
* @param {Object[]} [options.attachments] Array of attachment objects, as
* described in the [nodemailer documentation](https://nodemailer.com/message/attachments/).
* @param {MailComposer} [options.mailComposer] A [MailComposer](https://nodemailer.com/extras/mailcomposer/#e-mail-message-fields)
* @deprecated in 2.8
* object representing the message to be sent. Overrides all other options.
* You can create a `MailComposer` object via
* `new EmailInternals.NpmModules.mailcomposer.module`.