You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: example code does not work it complains
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Object
running
string
Received: by mx01.xxxx.com (Postfix, from userid 0)
id 718F041789; Fri, 15 Nov 2024 17:39:27 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xxxx.com;
s=mailer; t=;
bh=g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfustWU5uGs=;
h=Subject:To:Date:From:From;
b=fwUBTovFAXu1B54QJ1B8M7CcarR0hFprFb6ErjiPmyNmqjV1R9IS0ss29JotVXeJW
b3CQLh2B/wD7AbvbUNnP8rcvClCLAs97y+35lqw6+ejNsf9qPpSSQ1y3LCM/ionM3H
Taki7SCMJVVirFKzx+vOGEcaABS1Zvt0jUNVCaeieKAVzD0yKUREcqxnQc0/zkQrCc
BzV7M4Hg+TW9B4/yiyS+WcELQP9+CNhZF5CtqF92FUCQdepv53ewsneFH6YnuToGfM
/oDV3MKyJizcP9NO+C1khNC87cM3ZBk/udvpsuNmYbcdtuXNXNdkP7rhdm5ZnodwV8
VXIRC4WPrwJPA==
Subject: test
To: <philipp@xxxx.com>
X-Mailer: mail (GNU Mailutils 3.7)
Message-Id: <20241115163927.718F041789@mx01.xxxx.com>
Date: Fri, 15 Nov 2024 17:39:27 +0100 (CET)
From: root <root@xxxx.com>
test
node:internal/streams/writable:480
throw new ERR_INVALID_ARG_TYPE(
^
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Object
at _write (node:internal/streams/writable:480:13)
at Writable.end (node:internal/streams/writable:821:17)
at Immediate.<anonymous> (/node/postfix/node_modules/nodemailer/lib/mime-node/index.js:977:46)
at process.processImmediate (node:internal/timers:483:21) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v20.18.0
Checklist
I have searched through GitHub issues for similar issues.
I have completely read through the README and documentation.
I have tested my code with the latest version of Node.js and this package and confirmed it is still not working.
The text was updated successfully, but these errors were encountered:
Describe the bug
Node.js version: v20.18.0
OS version: Ubuntu 20.04
Description: example code does not work it complains
example result output:
Checklist
The text was updated successfully, but these errors were encountered: