{"id":20514050,"url":"https://github.com/webreflection/static.email","last_synced_at":"2025-04-14T00:05:10.154Z","repository":{"id":65993279,"uuid":"204665785","full_name":"WebReflection/static.email","owner":"WebReflection","description":"The easiest way to send emails on the Web","archived":false,"fork":false,"pushed_at":"2019-09-26T17:58:07.000Z","size":22,"stargazers_count":41,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-31T15:25:36.308Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://medium.com/@WebReflection/how-to-send-emails-from-static-websites-9a34ceb9416c","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebReflection.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":"2019-08-27T09:16:38.000Z","updated_at":"2024-10-07T01:32:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e846445-9f4b-4ba2-8bce-af2a29f40e6f","html_url":"https://github.com/WebReflection/static.email","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Fstatic.email","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Fstatic.email/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Fstatic.email/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebReflection%2Fstatic.email/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebReflection","download_url":"https://codeload.github.com/WebReflection/static.email/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232797486,"owners_count":18577981,"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":[],"created_at":"2024-11-15T21:14:31.124Z","updated_at":"2025-01-06T23:14:39.515Z","avatar_url":"https://github.com/WebReflection.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StaticEmail\n\n[![Build Status](https://travis-ci.com/WebReflection/static.email.svg?branch=master)](https://travis-ci.com/WebReflection/static.email) [![Coverage Status](https://coveralls.io/repos/github/WebReflection/static.email/badge.svg?branch=master)](https://coveralls.io/github/WebReflection/static.email?branch=master) [![License: ISC](https://img.shields.io/badge/License-ISC-yellow.svg)](https://opensource.org/licenses/ISC)\n\n\nThe easiest way to send emails to yourself, as described in [this post](https://medium.com/@WebReflection/how-to-send-emails-from-static-websites-9a34ceb9416c).\n\n\n### Back End\n\nPublish a static website via [zeit now](https://zeit.co/), use [static.email.ses](https://github.com/WebReflection/static.email.ses#readme) as serverless function and call it a day 🎉\n\n\n### Client Side\n\nEither `import StaticEmail from 'static.email'` or put the script on top of your page.\n\n```html\n\u003cscript src=\"https://unpkg.com/static.email\"\u003e\u003c/script\u003e\n\u003cscript\u003e\nStaticEmail({\n  // your zeit now SES enabled serverless function\n  path: '/api/paperboy',\n\n  // optional fields\n  from: 'Some Body \u003csome@body.me\u003e',\n  subject: 'Is it really that simple?',\n\n  // allowed content\n  html: '\u003cstrong\u003eGreat Service!\u003c/strong\u003e',\n  md: '# Great Service!',\n  text: 'Great Service'\n})\n  .then(() =\u003e console.log('email sent 🎉'))\n  .catch(console.error);\n\u003c/script\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebreflection%2Fstatic.email","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebreflection%2Fstatic.email","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebreflection%2Fstatic.email/lists"}