{"_id":"@c1x/nest-mailer","_rev":"17-65d8b942701402bd50e4937b4a99e4ed","name":"@c1x/nest-mailer","dist-tags":{"latest":"2.0.2"},"versions":{"0.0.1":{"name":"@c1x/nest-mailer","version":"0.0.1","_id":"@c1x/nest-mailer@0.0.1","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"7c7c11fe71eee780ae9c0e6014c6879562b0bf25","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-0.0.1.tgz","fileCount":11,"integrity":"sha512-PEonjvdoGcNborFIEi0hPrUiJLQ4beZ8KOKZnyLqquO1CX/V5unmuEmPugM/3jY6SRCUFCVJN++qMcobt5iaUA==","signatures":[{"sig":"MEUCIQCe2d4GrCNovsCXKQCt2zLajYvQHCSU64930inRG5wTDwIgLIfgXbVz1iwXn0jeJhZ9YTE+Ls0+YbZMGOhF7SCdPWw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8305},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"48ab2e1dfec29c173eb237bdef0557a7ac5b8455","private":false,"scripts":{"build":"rimraf dist && tsc","prepublish":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.18.0","dependencies":{"nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_0.0.1_1735582700235_0.7501877057223896","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@c1x/nest-mailer","version":"0.0.2","_id":"@c1x/nest-mailer@0.0.2","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"6194d395ffe21bb98c5ceaddd7c0167fc7a6b961","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-0.0.2.tgz","fileCount":11,"integrity":"sha512-y3UF3aifMkrrHTlzrzUEFHXYcMa3KLBsb9guTAUd6+iMKUI33WbqP5rIOgWH9NEg8whbFwGg+uONhR096DR51Q==","signatures":[{"sig":"MEUCIQCsqJiLjRMw4UVe64YB+uy9AOgiyssbuQHXiNa1BcrNrgIgWTXNlkY4ulviqverZKx0ZXJrwDHjC1VVnAHdedX4fak=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8305},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"33c5def6ff633174eaef339ad2a1c8e1baa2a4af","private":false,"scripts":{"build":"rimraf dist && tsc","prepublish":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.18.0","dependencies":{"nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_0.0.2_1735584941060_0.8103830193658599","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@c1x/nest-mailer","version":"0.0.3","_id":"@c1x/nest-mailer@0.0.3","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"b811f3fe4c3d8e1b8f35c261a23e1b3e1542cfcf","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-0.0.3.tgz","fileCount":12,"integrity":"sha512-jVr7NElsdx4WI0+TjFEevkl30D/euJdQnmRvZFSVQjXYQMEMEr3VIC50N6uahKujPc2SgAeSV+i2vLOn4UNLuw==","signatures":[{"sig":"MEQCICYlsBRxvza3VPYpDIO90vZYhNXz2xUQZ+PrTIT+ORfCAiBHfiBx+TDS3gcndoMh3oJmFMiSEGtPMDiW863vaQz6aw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13665},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f603c6ec6109afd646d16baf883df0dccae54fc6","private":false,"scripts":{"build":"rimraf dist && tsc","prepublish":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_0.0.3_1735587327674_0.6408271620909376","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@c1x/nest-mailer","version":"0.0.4","license":"MIT","_id":"@c1x/nest-mailer@0.0.4","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"dad9233212125a8c9bed79672aff436d7d05c538","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-0.0.4.tgz","fileCount":13,"integrity":"sha512-GiW/iSBGAaVOTXPhi7JWBS/ZcZBaKNT+9kOD2vX7fBZOGk7STa49F/mEjlvxDkFQIy1/BXfYrF0++hfIWuYyGQ==","signatures":[{"sig":"MEUCIQCuZw+SE1Ay0VuXUeR9o9fuwsGXIVSl+gbXK0idwP+nXAIgBKjwIeG9uILbAP5wP0fj/2LhXZgCWcse1SLGYSo+8K4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14768},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f603c6ec6109afd646d16baf883df0dccae54fc6","private":false,"scripts":{"build":"rimraf dist && tsc","prepublish":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_0.0.4_1735587662212_0.39954230709472105","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@c1x/nest-mailer","version":"0.0.5","license":"MIT","_id":"@c1x/nest-mailer@0.0.5","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"5a4e793d24592e3409ce454bd4477c55798c9388","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-0.0.5.tgz","fileCount":13,"integrity":"sha512-teJExu0WsrgK1un//4k08o/Rz8xAUwuRM3J01oPo8vUuNxeNU96BO4sRE37PxTVn+cG8FIq9HIkeYcHAmF9z1Q==","signatures":[{"sig":"MEUCIAK/Cs/8DCNrVzVzCymz7q0oq5S8cfmXx2cG2k0FEwUpAiEAxSaBt/+Q2EhSklpXGkbHSxPy/3M7vRKNCCZ6eRhu2+U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17957},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"cb8892ddf1b88e4521faeab739ea925b79aa1648","private":false,"scripts":{"build":"rimraf dist && tsc","prepublish":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_0.0.5_1735626156010_0.9705430093464678","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@c1x/nest-mailer","version":"0.0.6","license":"MIT","_id":"@c1x/nest-mailer@0.0.6","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"c529c33a79012a9f82dd0de6c0ea984a74d0716f","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-0.0.6.tgz","fileCount":13,"integrity":"sha512-zd9zyzV/LR3HqCJeybzUGAnZ4Fn8QLrZGXy1XkJRv+Qz8PhQpeFy2Xm/UcbfgvFTZZY9lGyfhCdx3kgMcpj9/A==","signatures":[{"sig":"MEYCIQD6FhNoEPnW7sDlUBvcbp1p+jlNWeubrnlFnZbMfZE1bAIhAKydDpHvw9vJeGX7OBDQgr55nJktMwi+qAMuniztL1iT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18170},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"0cae29c5d59e3bb4161fe7bf03b6a6a2921af121","private":false,"scripts":{"build":"rimraf dist && tsc","prepublish":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_0.0.6_1735627687437_0.27065398158667486","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@c1x/nest-mailer","version":"0.0.7","keywords":["nestjs","mailer","email","smtp","aws-ses","sendgrid","email-service","nest","typescript","mail","nodemailer","email-templates","email-provider","mail-service"],"license":"MIT","_id":"@c1x/nest-mailer@0.0.7","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"85d339a2271b782245c65b0f8f2e82e03f45e3c3","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-0.0.7.tgz","fileCount":13,"integrity":"sha512-PN58irCe1Iw/xE0GCmW2LAzQTZ2r9DU7KibLiHJ2gepa2fwb2o44CwZH6zHRdgpt2igfLa3lbwi2yZJfA4Om7w==","signatures":[{"sig":"MEYCIQCLjkgnOM7UQ63uEa5/jmTMYOWr91aNRunBgk95i56E7gIhAKpz6npo6IrkU4xQnl3fBgYDMNPJXIGGdw6O8gsjYxfj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18683},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"0cae29c5d59e3bb4161fe7bf03b6a6a2921af121","private":false,"scripts":{"build":"rimraf dist && tsc","prepublish":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_0.0.7_1735628014535_0.39916686589118044","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@c1x/nest-mailer","version":"0.0.8","keywords":["nestjs","mailer","email","smtp","aws-ses","sendgrid","email-service","nest","typescript","mail","nodemailer","email-templates","email-provider","mail-service"],"license":"MIT","_id":"@c1x/nest-mailer@0.0.8","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"309ff7ecd0c2f84a19fc4bab2c01a4549bf4c370","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-0.0.8.tgz","fileCount":13,"integrity":"sha512-tjZNczVWrI53hNmmxwdZzGGXdvWG0AZnvGPaYH4c1j7QL3CuZgheJq7+W4Uegty8P5xvjYof1auJFPxPh0G1NA==","signatures":[{"sig":"MEUCIHBo5Rcl9PDwApSTcyWtz07cXwhZg+PS9n5gO8WBE21BAiEAiC5wgmvMmBPw8cnsVu1bbPZ+Y3iiILc0kk2nZ6bINeU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19422},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"2e53035846bf51237dd072ae30b72aa6ac90b9e6","scripts":{"build":"rimraf dist && tsc","prepublish":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_0.0.8_1735894098782_0.05039654893926704","host":"s3://npm-registry-packages-npm-production"}},"0.0.10":{"name":"@c1x/nest-mailer","version":"0.0.10","keywords":["nestjs","mailer","email","smtp","aws-ses","sendgrid","email-service","nest","nestjs","typescript","mail","nodemailer","email-templates","email-provider","mail-service"],"license":"MIT","_id":"@c1x/nest-mailer@0.0.10","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"3630d32073dc918f8e4e86c1ad1ace956037098c","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-0.0.10.tgz","fileCount":3,"integrity":"sha512-8kt87cxLG5xfvJDcglhi6cLoTHhZyoSF1Cfm2b4Gbw8x8rhvs/2PEPz8RwZSPEnvSsfVRvDU/5TBySymx4GF2Q==","signatures":[{"sig":"MEQCIG0U8kuPvIZy9WXhwd7f/UmYZsZFh3BWh6ShtquVcU8YAiATalEMyS9NBSAwmdi/zjcG7MD064bj4i0TV/6M4T3Img==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11732},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"2e53035846bf51237dd072ae30b72aa6ac90b9e6","scripts":{"build":"rimraf dist && tsc","prepublish":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_0.0.10_1735922286061_0.6111685714114083","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"@c1x/nest-mailer","version":"0.0.11","keywords":["nestjs","mailer","email","smtp","aws-ses","sendgrid","email-service","nest","nestjs","typescript","mail","nodemailer","email-templates","email-provider","mail-service"],"license":"MIT","_id":"@c1x/nest-mailer@0.0.11","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"ce536dd5595b2c6c164c1e4bc0081e00819eca56","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-0.0.11.tgz","fileCount":27,"integrity":"sha512-mfApX7n2Ta/eEVYS1H/DPScL7WCwBRjZZK/qC07ogMLz3hrP3DFn2sse+iESKcHgOWOJSOMO613ter8J9V6yjA==","signatures":[{"sig":"MEUCIQCIHFyON12EXLzgnbdu19uI0g6NM3k+yAC1i3BgyMzEGwIgKnLbarcjz72L6Mq58RLP4MklMoMsTPyNm7944Yxw6I8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32305},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"2e53035846bf51237dd072ae30b72aa6ac90b9e6","scripts":{"build":"tsc -p ./tsconfig.json","prebuild":"rimraf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_0.0.11_1735923056776_0.18466841864245187","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@c1x/nest-mailer","version":"1.0.1","keywords":["nestjs","mailer","email","smtp","aws-ses","sendgrid","email-service","nest","nestjs","typescript","mail","nodemailer","email-templates","email-provider","mail-service"],"license":"MIT","_id":"@c1x/nest-mailer@1.0.1","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"463f121daf329273f1ae2f0a0cbd295186f541d0","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-1.0.1.tgz","fileCount":27,"integrity":"sha512-Ee8NQhxlDZcOv5dwUx68KykM2AgampOeLR/FHP12LAt+GcejNPYVbnGzQaa5bqHlQe5G6k7ovcLJipCMWrwBpA==","signatures":[{"sig":"MEUCIQD46zd4cCgdYqAxRB4uSxRwgXYnVAps7bjSO96Ut06FJQIgPwNUA9P22pD6FLQM6JAieBqiblkwoeghd5gMrO1Ct48=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33527},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"3a9c2301904d235381a04e9c88196410ce98a210","scripts":{"build":"tsc -p ./tsconfig.json","prebuild":"rimraf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"handlebars":"^4.7.8","nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_1.0.1_1735932964572_0.9739246802458024","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@c1x/nest-mailer","version":"1.0.2","keywords":["nestjs","mailer","email","smtp","aws-ses","sendgrid","email-service","nest","nestjs","typescript","mail","nodemailer","email-templates","email-provider","mail-service"],"license":"MIT","_id":"@c1x/nest-mailer@1.0.2","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"37002facb19e0fba55efabd2faa398f239b17c47","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-1.0.2.tgz","fileCount":27,"integrity":"sha512-zYipWTbL1gdQEBQBxLEZquQw3jueE0q3bC4JRt8B4MUBtGoEIrQVcF8H/gKiQW5TZ0RrtpVG0FpPT3/Vn4GW4g==","signatures":[{"sig":"MEQCIHYezmoD8AQYOaKXNavty/byfTMTFUJwM5ofwHXHXByTAiBWaWw1V4jusyulaNYxtbw7G05Iql6LsPLsdCa7AiOCKg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33562},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"3a9c2301904d235381a04e9c88196410ce98a210","scripts":{"build":"tsc -p ./tsconfig.json","prebuild":"rimraf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"handlebars":"^4.7.8","nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_1.0.2_1735933185765_0.47048311588899727","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@c1x/nest-mailer","version":"1.0.4","keywords":["nestjs","mailer","email","smtp","aws-ses","sendgrid","email-service","nest","nestjs","typescript","mail","nodemailer","email-templates","email-provider","mail-service"],"license":"MIT","_id":"@c1x/nest-mailer@1.0.4","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"c159b51ef50f175095e0bc79be78af7536439fae","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-1.0.4.tgz","fileCount":30,"integrity":"sha512-WSfs4x/K0VE396Wi+aUpaLudNp5IePwvFEBUChZfvQQrK4F9zLcJtHS1jZcfTUO1QnWIqolWpa94zcyyQ2pmJQ==","signatures":[{"sig":"MEYCIQCE2SeLwUK10oVEiNbjGOTPnfznzOzggQrq6cFBjVVprwIhAP+UMVWJfTbcUHHQ65645e6bqMT7lvJRNY8mWVWX4oCp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40880},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"89590099f0478e358ae7981162905ac6a89ccc75","scripts":{"build":"tsc -p ./tsconfig.json","prebuild":"rimraf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"handlebars":"^4.7.8","nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_1.0.4_1735975192391_0.749918809451074","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@c1x/nest-mailer","version":"1.0.5","keywords":["nestjs","mailer","email","smtp","aws-ses","sendgrid","email-service","nest","nestjs","typescript","mail","nodemailer","email-templates","email-provider","mail-service"],"license":"MIT","_id":"@c1x/nest-mailer@1.0.5","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"f7a6f5d33ba41e28e858323a28f812ed4e92a36a","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-1.0.5.tgz","fileCount":30,"integrity":"sha512-+azC6VRC9dru90/5bEoeZFPdEW6glHdRzxZO8aaE6YzwfUWlLO8qeNyj3sAbhPin6BuAkzXdvb61AlHDd3Ky5w==","signatures":[{"sig":"MEUCIFRNIdmwC44arhzjnExEb8eYxnaTvzBgTEJLtnek3w/lAiEA5wEDczhRMsEM9e0S0PEwObdpZ5NBSCiW2c2XmbbfmY8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41706},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"3e8dac0640f3ef0d23f868dde86e94b16022a999","scripts":{"build":"tsc -p ./tsconfig.json","prebuild":"rimraf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"handlebars":"^4.7.8","nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_1.0.5_1735981646885_0.5386592524786813","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@c1x/nest-mailer","version":"1.0.6","keywords":["nestjs","mailer","email","smtp","aws-ses","sendgrid","email-service","nest","nestjs","typescript","mail","nodemailer","email-templates","email-provider","mail-service"],"license":"MIT","_id":"@c1x/nest-mailer@1.0.6","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"acfab262ca5f25b4112b98669073d9397f342879","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-1.0.6.tgz","fileCount":30,"integrity":"sha512-sJEixf8Rc0pkcpBnqRGl9+/c7NayBQbSdh3bRSVRDC7L3FLAVcWKIF4BbCwcC9acVvC9KhvHJsyvBXHqQmPauA==","signatures":[{"sig":"MEQCIHY+Q9iIaULM//H/78qyMgeizuNLeqnyjXPK7JWiBf1IAiA3RQi27WvgLxQKycRTet5pc/4hf+eySA4NRpHytJw5SA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41678},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"aef4343596c98e99b4bc2191c5febda444687eb5","scripts":{"build":"tsc -p ./tsconfig.json","prebuild":"rimraf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"handlebars":"^4.7.8","nodemailer":"^6.9.16","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.716.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.0.0","@types/nodemailer":"^6.4.14"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_1.0.6_1735986848195_0.38218180704753646","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@c1x/nest-mailer","version":"2.0.1","keywords":["nestjs","mailer","email","smtp","aws-ses","sendgrid","email-service","nest","nestjs","typescript","mail","nodemailer","email-templates","email-provider","mail-service"],"license":"MIT","_id":"@c1x/nest-mailer@2.0.1","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"dist":{"shasum":"12e829e5074d955b02eb0dcef5b2666885af5683","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-2.0.1.tgz","fileCount":45,"integrity":"sha512-63bqgjb8a60ItCuCWeYChgAzxwMdLKF356aVFhrATXDQYU6CR0QYiMnC0gGMqoW5nY2bgbytaBe7TL9ip/4txA==","signatures":[{"sig":"MEUCIQDFL+Fy1Y+4dnJnAxEnLeHX1L27fTqbBEm15kH1hYpfvwIgMIVPYFlWVOdSDtMgKAmF7Gko/K0s/XQkoV+KQ2iceVM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":119925},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"2ceb4fdb84f8b9ae294ec2fb8051a5887e9f3e6a","scripts":{"build":"tsc -p ./tsconfig.json","prebuild":"rimraf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"_npmVersion":"10.8.2","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"handlebars":"^4.7.8","nodemailer":"^6.9.16 || ^9.0.0","@sendgrid/mail":"^8.1.4","@aws-sdk/client-ses":"^3.723.0","isomorphic-dompurify":"^2.20.0 || ^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","typescript":"^5.7.2","@types/nodemailer":"^6.4.17 || ^8.0.0"},"peerDependencies":{"@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nest-mailer_2.0.1_1783757692568_0.3881893342108298","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@c1x/nest-mailer","version":"2.0.2","publishConfig":{"access":"public"},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prebuild":"rimraf dist","build":"tsc -p ./tsconfig.json","prepublishOnly":"npm run build"},"license":"MIT","keywords":["nestjs","mailer","email","smtp","aws-ses","sendgrid","email-service","nest","nestjs","typescript","mail","nodemailer","email-templates","email-provider","mail-service"],"peerDependencies":{"@nestjs/common":"^10.0.0 || ^11.0.0","@nestjs/core":"^10.0.0 || ^11.0.0"},"dependencies":{"@aws-sdk/client-ses":"^3.723.0","@sendgrid/mail":"^8.1.4","handlebars":"^4.7.8","isomorphic-dompurify":"^2.20.0 || ^3.0.0","nodemailer":"^6.9.16 || ^9.0.0"},"devDependencies":{"@types/nodemailer":"^6.4.17 || ^8.0.0","rimraf":"^6.0.1","typescript":"^5.7.2"},"_id":"@c1x/nest-mailer@2.0.2","gitHead":"f222d6fdab86fb14e792c2e606765a3d0db29808","description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-xwTeX94ZCh6SDjQn3vycQmeaR1U1vMdJ1/hKtWuGlGbWohtOdDiw+DjABXY3uke9Wh6mWDC5ISR1Scn3O6MEcQ==","shasum":"c5e7cb0ee7b04305dfcf9f1f14bed11e96c03924","tarball":"https://registry.npmjs.org/@c1x/nest-mailer/-/nest-mailer-2.0.2.tgz","fileCount":45,"unpackedSize":119925,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCPS6rGpX5xcI5Zu3kVlErGIxF0ZbKJr2XZ/kXS9P8GKgIhAKd36ad9Zqci3R86bl2vPMNx3ylEDvRV3I/wBWlGZzcI"}]},"_npmUser":{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"},"directories":{},"maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nest-mailer_2.0.2_1783759049845_0.9748669210930994"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-30T18:18:20.072Z","modified":"2026-07-11T08:37:30.090Z","0.0.1":"2024-12-30T18:18:20.396Z","0.0.2":"2024-12-30T18:55:41.232Z","0.0.3":"2024-12-30T19:35:27.858Z","0.0.4":"2024-12-30T19:41:02.378Z","0.0.5":"2024-12-31T06:22:36.212Z","0.0.6":"2024-12-31T06:48:07.613Z","0.0.7":"2024-12-31T06:53:34.697Z","0.0.8":"2025-01-03T08:48:18.940Z","0.0.10":"2025-01-03T16:38:06.235Z","0.0.11":"2025-01-03T16:50:56.989Z","1.0.1":"2025-01-03T19:36:04.787Z","1.0.2":"2025-01-03T19:39:45.934Z","1.0.4":"2025-01-04T07:19:52.557Z","1.0.5":"2025-01-04T09:07:27.043Z","1.0.6":"2025-01-04T10:34:08.397Z","2.0.1":"2026-07-11T08:14:52.710Z","2.0.2":"2026-07-11T08:37:29.977Z"},"license":"MIT","keywords":["nestjs","mailer","email","smtp","aws-ses","sendgrid","email-service","nest","nestjs","typescript","mail","nodemailer","email-templates","email-provider","mail-service"],"description":"A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.","maintainers":[{"name":"mp-mahesh","email":"mpmahesh1022@gmail.com"}],"readme":"# @c1x/nest-mailer\n\nA flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.\n\n## Features\n\n- 📧 Multiple provider support (SMTP, AWS SES, SendGrid)\n- ⚙️ Environment-based configuration\n- 🚀 Asynchronous module configuration\n- 📎 Attachment support, including inline images via `cid`\n- ↩️ CC, BCC, and Reply-To support across all providers\n- 🎨 HTML email support with built-in sanitization (via `isomorphic-dompurify`)\n- 🔁 Automatic retry with exponential backoff on transient send failures\n- 🏊 SMTP connection pooling for higher-throughput sending\n- 🧩 Eager template warm-up on startup with fail-fast validation\n- 💪 Type-safe implementation\n- 🔍 Detailed error logging\n\n## Installation\n\n```bash\nnpm install @c1x/nest-mailer\n```\n\n## Quick Start\n\n1. Import the MailerModule in your app.module.ts:\n\n```typescript\nimport { Module } from '@nestjs/common';\nimport { ConfigModule, ConfigService } from '@nestjs/config';\nimport { MailerModule } from '@c1x/nest-mailer';\nimport { join } from 'path';\n\n@Module({\n  imports: [\n    ConfigModule.forRoot(),\n    MailerModule.forRootAsync({\n      imports: [ConfigModule],\n      inject: [ConfigService],\n      useFactory: (configService: ConfigService) => ({\n        // Required: Provider configuration\n        provider: configService.get('MAIL_PROVIDER', 'sendgrid'),\n        credentials: {\n          apiKey: configService.get('SENDGRID_API_KEY'),\n        },\n        // Optional: Template configuration\n        templatesDir: join(__dirname, 'templates'), // Only needed if using templates\n      }),\n    }),\n  ],\n})\nexport class AppModule {}\n```\n\n2. Configure your environment variables:\n\n```env\n# Choose your preferred provider and configure accordingly\n\n# SendGrid Configuration\nSENDGRID_API_KEY=your_api_key\nMAIL_FROM_NAME=Your App Name\nMAIL_FROM_ADDRESS=noreply@yourapp.com\n\n# Or SMTP Configuration\nSMTP_HOST=smtp.gmail.com\nSMTP_PORT=587\nSMTP_SECURE=false\nSMTP_USER=your-email@gmail.com\nSMTP_PASS=your-app-password\n\n# Or AWS SES Configuration\nAWS_ACCESS_KEY_ID=your_access_key\nAWS_SECRET_ACCESS_KEY=your_secret_key\nAWS_REGION=your_region\n```\n\n3. Use the MailerService in your application:\n\n```typescript\nimport { Injectable } from '@nestjs/common';\nimport { MailerService } from '@c1x/nest-mailer';\n\n@Injectable()\nexport class AppService {\n  constructor(private readonly mailerService: MailerService) {}\n\n  async sendWelcomeEmail(userEmail: string) {\n    await this.mailerService.sendMail({\n      to: userEmail,\n      fromName: 'Your App Name',    // New: Separate sender name\n      fromAddress: 'noreply@yourapp.com',  // New: Separate sender email\n      subject: 'Welcome to Our App!',\n      text: 'Welcome to our application...',\n      html: '<h1>Welcome!</h1><p>We're glad to have you on board.</p>',\n    });\n  }\n}\n```\n\n## Provider Configuration\n\n\n### SendGrid Configuration\n\n```typescript\nMailerModule.forRootAsync({\n  imports: [ConfigModule],\n  inject: [ConfigService],\n  useFactory: (configService: ConfigService) => ({\n    provider: 'sendgrid',\n    credentials: {\n      apiKey: configService.get('SENDGRID_API_KEY'),\n    },\n    // Optional template support\n    templatesDir: join(__dirname, 'templates'),\n  }),\n}),\n```\n\n### SMTP Configuration\n\n```typescript\nMailerModule.forRootAsync({\n  imports: [ConfigModule],\n  inject: [ConfigService],\n  useFactory: (configService: ConfigService) => ({\n    provider: 'smtp',\n    credentials: {\n      host: configService.get('SMTP_HOST'),\n      port: parseInt(configService.get('SMTP_PORT')),\n      secure: configService.get('SMTP_SECURE') === 'true',\n      auth: {\n        user: configService.get('SMTP_USER'),\n        pass: configService.get('SMTP_PASS'),\n      },\n    },\n  }),\n}),\n```\n\n### AWS SES Configuration\n\n```typescript\nMailerModule.forRootAsync({\n  imports: [ConfigModule],\n  inject: [ConfigService],\n  useFactory: (configService: ConfigService) => ({\n    provider: 'aws-ses',\n    credentials: {\n      accessKeyId: configService.get('AWS_ACCESS_KEY_ID'),\n      secretAccessKey: configService.get('AWS_SECRET_ACCESS_KEY'),\n      region: configService.get('AWS_REGION'),\n    },\n  }),\n}),\n```\n\n\n\n## API Reference\n\n### MailOptions Interface\n\n```typescript\ninterface MailOptions {\n  // Required fields\n  to: string | string[];\n  subject: string;\n\n  // Optional fields\n  cc?: string | string[];       // CC recipients\n  bcc?: string | string[];      // BCC recipients\n  replyTo?: string;             // Reply-To address; falls back to MailerConfig.defaultReplyTo\n  fromName?: string;            // Sender display name\n  fromAddress?: string;         // Sender email; falls back to MailerConfig.defaultFrom.\n                                 // sendMail throws if neither is resolvable.\n  text?: string;         // Plain text content\n  html?: string;         // HTML content (sanitized before sending)\n  template?: string;     // Template name (if using templates)\n  context?: any;         // Template variables (if using templates) example context variables {'name':'json','email':'example@gmail.com'}\n  attachments?: Array<{\n    filename: string;\n    content: Buffer | string;\n    contentType?: string;\n    cid?: string;        // For inline images: reference as <img src=\"cid:...\">\n  }>;\n}\n```\n\n> `to`/`html`/`text` are still required per the usual rules (a recipient, and either `html` or `text`) — only the sender fields became optional, since they can now come from `MailerConfig.defaultFrom`/`defaultReplyTo` instead of every call site.\n\n### Provider Configurations\n\n```typescript\ninterface SmtpConfig {\n  host: string;\n  port: number;\n  secure: boolean;\n  auth: {\n    user: string;\n    pass: string;\n  };\n  debug?: boolean;         // Verbose SMTP protocol logging. Off by default —\n                            // can log credentials/message content, never enable in production.\n  pool?: boolean;           // Reuse connections across sends\n  maxConnections?: number;  // Only used when pool is true\n  maxMessages?: number;     // Only used when pool is true\n}\n\ninterface AwsSesConfig {\n  accessKeyId: string;\n  secretAccessKey: string;\n  region: string;\n}\n\ninterface SendGridConfig {\n  apiKey: string;\n}\n```\n\n### Mailer-level Configuration\n\nThese apply regardless of which provider you use, and are set alongside `provider`/`credentials` in `MailerModule.forRoot`/`forRootAsync`:\n\n```typescript\ninterface MailerConfig {\n  provider: 'smtp' | 'aws-ses' | 'sendgrid';\n  credentials: SmtpConfig | AwsSesConfig | SendGridConfig;\n  templatesDir?: string;\n\n  defaultFrom?: string;            // Used when a sendMail call omits fromAddress\n  defaultReplyTo?: string;         // Used when a sendMail call omits replyTo\n\n  maxRetries?: number;             // Retry attempts after the initial send failure (default: 2)\n  retryDelayMs?: number;           // Base delay before the first retry, doubled each attempt (default: 300)\n\n  maxAttachmentSizeBytes?: number; // Total attachments size limit (default: 25MB)\n}\n```\n\n```typescript\nMailerModule.forRoot({\n  provider: 'smtp',\n  credentials: { /* ... */ },\n  defaultFrom: 'noreply@yourapp.com',\n  defaultReplyTo: 'support@yourapp.com',\n  maxRetries: 3,\n  retryDelayMs: 500,\n});\n```\n\n## Error Handling\n\nThe module includes built-in error handling. Here's an example of how to handle errors:\n\n```typescript\ntry {\n  await this.mailerService.sendMail({\n    to: 'user@example.com',\n    from: 'noreply@yourapp.com',\n    subject: 'Test Email',\n    text: 'This is a test email',\n  });\n} catch (error) {\n  // Handle specific error types\n  if (error.code === 'EAUTH') {\n    // Handle authentication error\n  } else if (error.code === 'ETIMEDOUT') {\n    // Handle timeout error\n  }\n  throw error;\n}\n```\n\n### Sending Emails with Attachments\n\nHere are different examples of sending emails with attachments:\n\n1. **Send with Buffer attachment:**\n```typescript\nimport { Injectable } from '@nestjs/common';\nimport { MailerService } from '@c1x/nest-mailer';\nimport * as fs from 'fs';\n\n@Injectable()\nexport class EmailService {\n  constructor(private readonly mailerService: MailerService) {}\n\n  async sendWithAttachment() {\n    // Read file as buffer\n    const fileBuffer = fs.readFileSync('path/to/file.pdf');\n\n    await this.mailerService.sendMail({\n      to: 'user@example.com',\n      fromAddress: 'noreply@yourapp.com',\n      fromName:\"test\",\n      subject: 'Document Attached',\n      text: 'Please find the attached document.',\n      attachments: [\n        {\n          filename: 'document.pdf',\n          content: fileBuffer,\n          contentType: 'application/pdf',\n        }\n      ]\n    });\n  }\n}\n```\n\n2. Send with multiple attachments:\n```typescript\n@Injectable()\nexport class EmailService {\n  constructor(private readonly mailerService: MailerService) {}\n\n  async sendWithMultipleAttachments() {\n    await this.mailerService.sendMail({\n      to: 'user@example.com',\n      fromAddress: 'noreply@yourapp.com',\n      fromName:\"test\",\n      subject: 'Multiple Attachments',\n      text: 'Please find the attached files.',\n      attachments: [\n        {\n          filename: 'report.pdf',\n          content: fs.readFileSync('path/to/report.pdf'),\n          contentType: 'application/pdf',\n        },\n        {\n          filename: 'image.jpg',\n          content: fs.readFileSync('path/to/image.jpg'),\n          contentType: 'image/jpeg',\n        },\n        {\n          filename: 'data.csv',\n          content: fs.readFileSync('path/to/data.csv'),\n          contentType: 'text/csv',\n        }\n      ]\n    });\n  }\n}\n```\n\n3. Inline images in HTML email:\n\n```typescript\n@Injectable()\nexport class EmailService {\n  constructor(private readonly mailerService: MailerService) {}\n\n  async sendWithInlineImages() {\n    await this.mailerService.sendMail({\n      to: 'user@example.com',\n      fromAddress: 'noreply@yourapp.com',\n      fromName:\"test\",\n      subject: 'Email with Inline Image',\n      html: `\n        <h1>Welcome!</h1>\n        <p>Here's our logo:</p>\n        <img src=\"cid:unique-logo-id\" />\n      `,\n      attachments: [\n        {\n          filename: 'logo.png',\n          content: fs.readFileSync('path/to/logo.png'),\n          contentType: 'image/png',\n          cid: 'unique-logo-id' // Content ID for referencing in HTML\n        }\n      ]\n    });\n  }\n}\n```\n\n4. Send with Base64 attachment:\n\n```typescript\n@Injectable()\nexport class EmailService {\n  constructor(private readonly mailerService: MailerService) {}\n\n  async sendWithBase64Attachment() {\n    const base64Content = 'base64_encoded_string';\n\n    await this.mailerService.sendMail({\n      to: 'user@example.com',\n      fromAddress: 'noreply@yourapp.com',\n      fromName:\"test\",\n      subject: 'Image Attached',\n      html: '<h1>Check out this image!</h1>',\n      attachments: [\n        {\n          filename: 'image.png',\n          content: base64Content,\n          contentType: 'image/png',\n        }\n      ]\n    });\n  }\n}\n```\n\n\n5. Use the MailerService with templates in your application:\n\n```typescript\nimport { Injectable } from '@nestjs/common';\nimport { MailerService } from '@c1x/nest-mailer';\n\n@Injectable()\nexport class AppService {\n  constructor(private readonly mailerService: MailerService) {}\n\n  async sendWelcomeEmail(userEmail: string, userName: string) {\n    await this.mailerService.sendMail({\n      to: userEmail,\n      fromAddress: 'noreply@yourapp.com',\n      fromName:\"test\",\n      subject: 'Welcome to Our App!',\n      template: 'welcome',  // References welcome.hbs\n      context: {\n        appName: 'YourApp',\n        userName: userName,\n        welcomeMessage: 'We\\'re excited to have you on board!'\n      }\n    });\n  }\n}\n```\n\n## Best Practices\n\n1. Always use environment variables for sensitive credentials\n2. Implement proper error handling\n3. Use type-safe interfaces provided by the library\n4. Tune `maxRetries`/`retryDelayMs` for your provider's expected transient failure rate — a retry mechanism is now built in\n5. Use HTML templates for consistent email styling\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nMIT\n\n## Support\n\nFor issues and feature requests, please create an issue in the GitHub repository.\n\n<!-- ## Changelog\n\n## [0.0.1] - 2024-12-31\n- Initial release\n- Support for SMTP, AWS SES, and SendGrid providers\n- Basic email functionality\n- Environment-based configuration\n\n## [0.0.2] - 2024-12-31\n- Initial release\n- Support for SMTP, AWS SES, and SendGrid providers\n- Basic email functionality\n- logic optimized\n- Environment-based configuration\n\n\n## [0.0.3] - 2024-12-31\n### Added\n- Comprehensive attachment examples in documentation\n- Support for inline images in HTML emails\n### Changed\n- Updated package name to @c1x/nest-mailer\n\n## [0.0.4] - 2024-12-31\n### Added\n- Comprehensive attachment examples in documentation\n- Support for inline images in HTML emails\n### Changed\n- Updated package name to @c1x/nest-mailer\n\n## [0.0.5] - 2024-12-31\n### Added\n- Comprehensive attachment examples in documentation\n- Support for inline images in HTML emails\n### Changed\n- Updated package name to @c1x/nest-mailer\n\n\n## [0.0.6] - 2024-12-31\n### Added\n- Comprehensive attachment examples in documentation\n- Support for inline images in HTML emails\n### Changed\n- Updated package name to @c1x/nest-mailer\n\n## [0.0.7] - 2024-12-31\n### Added\n- Comprehensive attachment examples in documentation\n- Support for inline images in HTML emails\n- Keywords added\n### Changed\n- Updated package name to @c1x/nest-mailer -->","readmeFilename":"README.md"}