1
0
mirror of https://github.com/eleith/emailjs.git synced 2024-05-31 23:05:31 +00:00

smtp/smtp: add deprecation note to helo command

This commit is contained in:
Zack Schuster 2020-05-26 14:03:50 -07:00
parent f1702dc66f
commit 2bb5832be4

View File

@ -423,6 +423,9 @@ export class SMTPConnection extends EventEmitter {
* Hostname to send for self command defaults to the FQDN of the local
* host.
*
* As this command was deprecated by rfc2821, it should only be used for compatibility with non-compliant servers.
* @see https://tools.ietf.org/html/rfc2821#appendix-F.3
*
* @param {function(...*): void} callback function to call after response
* @param {string} domain the domain to associate with the 'helo' request
* @returns {void}