{"id":25828693,"url":"https://github.com/ishanmk/automatic-email-sender","last_synced_at":"2025-02-28T17:48:52.698Z","repository":{"id":41175463,"uuid":"508272192","full_name":"IshanMK/Automatic-Email-Sender","owner":"IshanMK","description":"Automatic Email Sender Using NodeJS","archived":false,"fork":false,"pushed_at":"2022-08-11T10:24:58.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-05T01:25:43.630Z","etag":null,"topics":["automated","automatic","backend","email","es6","javascript","js","mail-notification","mail-notifier","mailsender","nodejs","nodemailer","notifications","scheduled-notifications","scheduled-tasks"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IshanMK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-28T11:33:16.000Z","updated_at":"2022-10-11T02:51:25.000Z","dependencies_parsed_at":"2022-09-10T00:31:32.559Z","dependency_job_id":null,"html_url":"https://github.com/IshanMK/Automatic-Email-Sender","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IshanMK%2FAutomatic-Email-Sender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IshanMK%2FAutomatic-Email-Sender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IshanMK%2FAutomatic-Email-Sender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IshanMK%2FAutomatic-Email-Sender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IshanMK","download_url":"https://codeload.github.com/IshanMK/Automatic-Email-Sender/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241192402,"owners_count":19925308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automated","automatic","backend","email","es6","javascript","js","mail-notification","mail-notifier","mailsender","nodejs","nodemailer","notifications","scheduled-notifications","scheduled-tasks"],"created_at":"2025-02-28T17:48:52.606Z","updated_at":"2025-02-28T17:48:52.686Z","avatar_url":"https://github.com/IshanMK.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Automatic-Email-Sender\nAutomatic Email Sender Using NodeJS\n## Download the mailSender to your PC\n### Installation\n```sh\ngit clone https://github.com/IshanMK/Automatic-Email-Sender.git\n```\n### Install all the modules required\n* Inside the directory where \u003ccode\u003epackage.json\u003c/code\u003e is located run the following code from your terminal\n```sh\nnpm install\n```\n\n## Configuration for your Gmail Account\n* Go to your [Google Account](https://myaccount.google.com/)\n* Then Go to \u003ccode\u003eSecurity\u003c/code\u003e Tab\n\n  ![EcZhsd9Hlb](https://user-images.githubusercontent.com/73387606/176173930-2e813930-7479-48b3-aa8f-b55813aee4e8.png)\n* Turn on \u003ccode\u003e2-step verification\u003c/code\u003e\n\n  ![mhlCdvSp1u](https://user-images.githubusercontent.com/73387606/176174594-98e6f5ed-8728-4d71-b482-ed02f5512fc9.png)\n* After turning on 2-step verification go back now you will see new option below 2-step Verification.\n* Go to the new Option \u003ccode\u003eApp passwords\u003c/code\u003e\n\n  ![EMRDrRzOMc](https://user-images.githubusercontent.com/73387606/176175682-b4857c5b-140f-4cc7-9243-5826a85a38e0.png)\n\n* You will get the followings\n\n  ![g0KEXurtTr](https://user-images.githubusercontent.com/73387606/176176082-eaf287ed-6d78-4cf1-a6c7-657db499eb3b.png)\n\n* Click on \u003ccode\u003eselect app\u003c/code\u003e and choose the option \u003ccode\u003eOther\u003ci\u003e(Custom name)\u003c/i\u003e\u003c/code\u003e\n\n  ![68Nseu72IZ](https://user-images.githubusercontent.com/73387606/176176387-e9038aaf-978f-4a81-9c7a-f628701b4967.png)\n\n* Provide the custom name for your application and click on \u003ccode\u003eGenerate\u003c/code\u003e\n\n  ![iPm0D0Txr7](https://user-images.githubusercontent.com/73387606/176176845-61512052-d987-4d8c-bef2-968938d18dcf.png)\n  \n* It will automatically generate a password with \u003ccode\u003e16\u003c/code\u003e characters for your application\n\n  ![ySjrEqW0lU](https://user-images.githubusercontent.com/73387606/176177376-2992db50-d38e-4f41-9d9e-d8fa309c8206.png)\n* Copy the password to the \u003ccode\u003eclipboard\u003c/code\u003e\n\n## Setting Up the \u003ccode\u003e.env.auth\u003c/code\u003e file\n  * If you have a smtp server use it other use \u003ccode\u003esmtp.gmail.com\u003c/code\u003e as the \u003ccode\u003eHOST\u003c/code\u003e.\n  * The \u003ccode\u003ePORT\u003c/code\u003e regarding the \u003ccode\u003esmtp\u003c/code\u003e is \u003ccode\u003e587\u003c/code\u003e.use \u003ccode\u003e587\u003c/code\u003e as \u003ccode\u003eHOST_PORT\u003c/code\u003e.\n  * Use \u003ccode\u003egmail\u003c/code\u003e as the \u003ccode\u003eSERVICE\u003c/code\u003e.\n  * Use your own email address as \u003ccode\u003eEMAIL_USERNAME\u003c/code\u003e.\n  * Use the \u003ccode\u003epassword copied to the ciplboard as the PASSWORD\u003c/code\u003e\n  \n  \n  ![1DcgISgMHz](https://user-images.githubusercontent.com/73387606/176180194-bcaa47b4-d2e9-4a5c-aa96-c04d84be76e3.png)\n\n## Setting Up sendEmail.js\n* Provide the \u003ccode\u003erecipients\u003c/code\u003e with an array of recipients mails seperated by commas as strings.If there is only single recipient no need an array of recipients.Just provide the single email as a string\n* Just Provide the \u003ccode\u003escheduledDate\u003c/code\u003e with the \u003ccode\u003eDate-Time_TimeZone\u003c/code\u003e you want to send the email\n* eg : \u003ccode\u003e2022-06-28T18:16:45+05:30\u003c/code\u003e\n* Provide \u003ccode\u003esender\u003c/code\u003e , \u003ccode\u003esubject\u003c/code\u003e and \u003ccode\u003econtent\u003c/code\u003e as you want\n\n![4Mwynv1nzD](https://user-images.githubusercontent.com/73387606/184113776-e9e4c1ca-ed2c-47a8-aacc-e878602c64a7.png)\n\n\n\n## Start Sending Mails\n* After doing all the above steps just run the following code from your terminal\n```sh\nnode sendEmail\n```\n  or\n```sh\nnpm start\n```\n\n[Find More About moment module](https://momentjs.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishanmk%2Fautomatic-email-sender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fishanmk%2Fautomatic-email-sender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishanmk%2Fautomatic-email-sender/lists"}