{"id":18322164,"url":"https://github.com/aiaaee/sending_email_react","last_synced_at":"2026-02-09T19:03:31.466Z","repository":{"id":249693133,"uuid":"831467733","full_name":"aiaaee/Sending_Email_React","owner":"aiaaee","description":"User panel for sending email to Admin","archived":false,"fork":false,"pushed_at":"2025-01-18T16:46:31.000Z","size":252,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T23:14:15.857Z","etag":null,"topics":["bootstrap5","component","emailjs-com","flex","javascript","jsx","react","react-hooks","react-router","reactcomponents","reactjs","reactlibrary"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aiaaee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-20T16:28:40.000Z","updated_at":"2025-03-24T18:22:41.000Z","dependencies_parsed_at":"2024-07-22T20:15:20.135Z","dependency_job_id":"7380a321-585c-4a21-8302-c0cc9e238210","html_url":"https://github.com/aiaaee/Sending_Email_React","commit_stats":null,"previous_names":["aiaaee/sending_email_react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiaaee%2FSending_Email_React","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiaaee%2FSending_Email_React/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiaaee%2FSending_Email_React/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiaaee%2FSending_Email_React/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aiaaee","download_url":"https://codeload.github.com/aiaaee/Sending_Email_React/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248643006,"owners_count":21138355,"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":["bootstrap5","component","emailjs-com","flex","javascript","jsx","react","react-hooks","react-router","reactcomponents","reactjs","reactlibrary"],"created_at":"2024-11-05T18:23:34.797Z","updated_at":"2026-02-09T19:03:21.446Z","avatar_url":"https://github.com/aiaaee.png","language":"JavaScript","readme":"# Sending Email Message by React \n## Using [EmailJs](https://www.emailjs.com/) is one of the most important decision of project   \n\n\nIn this project, we aim to send a message to the user's email using the emailJs tool.\nAt the beginning of the project, we design our form in the Request section. \n##### The entire design of this form is handled by Bootstrap.\nBy using rows and segmenting sections of the page with columns, we create a fully responsive page.\n\n![Requests](https://github.com/user-attachments/assets/f245725c-f882-4d17-98db-d4f4deba583a)\n\nAfter completing the JSX part of the project, we proceed to send the messages generated through the form.\nUsing the [npm](https://www.npmjs.com/) website, we download the npm-com package.\nThen, we complete its code using the documentation provided in the send-form section.\nThe syntax provided by the emailJs documentation is as follows:\n\n```\nemailjs.sendForm(serviceID, templateID, templateParams, options);\n```\nIt should be noted that in the `templateParams` section, we can use a function we created to access the _target_ and place them in this section.\n\nThen, using [ReactToastify](https://www.npmjs.com/package/react-toastify) in the then section, we specify that if the sending status is successful, it should send us a success message.\nIf it fails to properly recognize the email, it should send us an error message.\n\n#### Installation \n\n```\nnpm i react-toastify\n```\n\n#### imports \n```\nimport {ToastContainer , toast} from 'react-toastify'\nimport 'react-toastify/dist/ReactToastify.css';\n```\n\n![Requests3](https://github.com/user-attachments/assets/a081197b-0a44-4e5f-905d-fdcc9a2c6d12)\n\nFinally, if we check our email, we will see that it has been successfully sent.\n\n\n![Requests2](https://github.com/user-attachments/assets/44a69b0b-6c12-4791-9a6d-73fc32ade47f)\n\nThe written codes can be viewed in the [source](https://github.com/aiaaee/Sending_Email_React/tree/main/Authentication/src) section.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiaaee%2Fsending_email_react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faiaaee%2Fsending_email_react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiaaee%2Fsending_email_react/lists"}