{"_id":"@alphahydrae/nodemailer-cli","_rev":"1-a7b9a992f734d8a013bf4ba6cc52ff8a","name":"@alphahydrae/nodemailer-cli","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alphahydrae/nodemailer-cli","version":"1.0.0","description":"Send mails from the command line with Nodemailer","main":"index.js","bin":{"nodemailer":"./index.js"},"scripts":{"doctoc":"doctoc --notitle --github README.md"},"author":{"name":"Simon Oulevay","email":"npm@alphahydrae.com"},"license":"MIT","dependencies":{"chalk":"^2.4.2","lodash":"^4.17.11","nodemailer":"^6.0.0","yargs":"^13.2.2"},"devDependencies":{"doctoc":"^1.4.0"},"gitHead":"c385b453c0949dd7081ca87ea49df903960ce65d","_id":"@alphahydrae/nodemailer-cli@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"alphahydrae","email":"npm@alphahydrae.com"},"dist":{"integrity":"sha512-Ze70oydy8QpOH9Nb54VBpLBj9u90rOlU2VBEeJq1/Da5QtXpq8kcoA0aOWZZdBC3clxLSuj3YhXZDVIb7lkvGg==","shasum":"ce427959e8b6dcae9771a4bfc21ee8a631bc7b6b","tarball":"https://registry.npmjs.org/@alphahydrae/nodemailer-cli/-/nodemailer-cli-1.0.0.tgz","fileCount":4,"unpackedSize":9289,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnMhDCRA9TVsSAnZWagAANxsP/jLtnqCyg5Z4l9Qaaxd1\nUBlVglDh2h8JTUUBLGeQ/xyzYNwIJj4G69/alALCLweQVLSwPQR5a06HlKAx\nhOz3MFAYQoHWLfdq9MFwX2tIwqkw/nx9HrC29W78vhqar/Bi3lr1j7c6FFo/\n2EIydepyQn0oyRFji+Kx7DhbLQukNC1xlE4jw+xrNyeJLuzeb1jzNFPvrbk+\nUTgGI/O/lpoN59elyP2xaighwfEgu6EXppwj1C8Q8ATHV0MAn+r96gmsnxmR\nDdu4AqxyFLeYL9JREB0SXrqNwKwZUNMmhPpI+BbYa1J+lZWZT/mWE9UkC8pc\nskEUiXzmbCoZ7M6DChpluJaT3wwiQc2UHvyyiwz4NECFXpua5UeJvHDd+pL1\nYxpenuQBiJH/VMHK2CqH5em0GrZh6p7RE5h666BSBuk43ky+kGilHjLdibvl\nhSiqjs0XHaKoXfYmf2gb9q8Yq7zvitHpbEd69zVpFoRoULX3GFqTENz2q5pF\nMeUrvbO3PwEK7hPVRGBC2w86TREQMMmG4GevOqOv2wpYPjWuSSQGLF0sI8T2\nvp4rPXxHT3NSqlXRbUWs5GutVUeCjq+yNVzcxPpSYKjQItWLB8IMjFqQMAdB\n0wBhR6bDN+P6eyrWZqoXAhXIgwx73q3lXOMWPcUn2LDsMaU/0gFJ3ZMxyuyi\nV+/W\r\n=10J4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID6Vj9+b6Zd2Q+eXBrvzeCEuBNyVLqvZeVyVlFVZNs2GAiBhsDLxxyq12/J0y0he47OXr4GyGQV/sxtre3HntdPZFA=="}]},"maintainers":[{"name":"alphahydrae","email":"npm@alphahydrae.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nodemailer-cli_1.0.0_1553778754065_0.17724636463046872"},"_hasShrinkwrap":false}},"time":{"created":"2019-03-28T13:12:33.862Z","1.0.0":"2019-03-28T13:12:34.178Z","modified":"2022-04-04T13:38:18.518Z"},"maintainers":[{"name":"alphahydrae","email":"npm@alphahydrae.com"}],"description":"Send mails from the command line with Nodemailer","author":{"name":"Simon Oulevay","email":"npm@alphahydrae.com"},"license":"MIT","readme":"# Nodemailer CLI\n\nSend mails from the command line with [Nodemailer][nodemailer].\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n\n- [Usage](#usage)\n- [Options](#options)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n\n\n## Usage\n\nWith [npm][npm]:\n\n```bash\nnpm install -g nodemailer-cli\n\nnodemailer \\\n  --from bob@example.com --to alice@example.com \\\n  --text \"Hello Alice\" --smtp-host smtp.example.com\n```\n\nWith [npx][npx]:\n\n```bash\nnpx nodemailer-cli \\\n  --from bob@example.com --to alice@example.com \\\n  --text \"Hello Alice\" --smtp-host smtp.example.com\n```\n\nWith [Docker][docker]:\n\n```bash\ndocker run --rm -it alphahydrae/nodemailer \\\n  --from bob@example.com --to alice@example.com \\\n  --text \"Hello Alice\" --smtp-host smtp.example.com\n```\n\n\n\n## Options\n\n```\nnodemailer [options]\n\nOptions:\n  --version                 Show version number                        [boolean]\n  --from, -f                Email of the sender                       [required]\n  --subject, -s             Subject of the email         [default: \"Nodemailer\"]\n  --text, -x                Body of the email                         [required]\n  --to, -t                  Email(s) of the recipient(s), comma-separated if\n                            there is more than one                    [required]\n  --smtp-auth-user, -U      Username\n  --smtp-auth-password, -P  Password\n  --smtp-host, -h           SMTP host address                         [required]\n  --smtp-ignore-tls         If this is true and smtp-secure is false then TLS is\n                            not used even if the server supports STARTTLS\n                            extension                           [default: false]\n  --smtp-port, -p           SMTP port (defaults to 587 if is secure is false or\n                            465 if true)                                [number]\n  --smtp-proxy              TCP proxy address\n  --smtp-require-tls        If this is true and secure is false then Nodemailer\n                            tries to use STARTTLS even if the server does not\n                            advertise support for it (if the connection can not\n                            be encrypted then message is not sent)\n                                                                [default: false]\n  --smtp-secure             If true the connection will use TLS when connecting\n                            to server, if false (the default) then TLS is used\n                            if server supports the STARTTLS extension (in most\n                            cases set this value to true if you are connecting\n                            to port 465; keep it false for port 587 or 25)\n                                                                [default: false]\n  --help                    Show help                                  [boolean]\n```\n\n\n\n\n[docker]: https://www.docker.com\n[nodemailer]: https://nodemailer.com\n[npm]: https://www.npmjs.com\n[npx]: https://www.npmjs.com/package/npx\n","readmeFilename":"README.md"}