{"id":26295985,"url":"https://github.com/zuf/html2mail","last_synced_at":"2025-03-15T04:16:12.746Z","repository":{"id":56876782,"uuid":"48437887","full_name":"zuf/html2mail","owner":"zuf","description":"Convert HTML-files with images to .eml or, 'premailed' html file or send it by email","archived":false,"fork":false,"pushed_at":"2017-03-08T00:34:55.000Z","size":32,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-25T15:02:20.634Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/zuf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-22T14:57:27.000Z","updated_at":"2023-11-07T12:41:16.000Z","dependencies_parsed_at":"2022-08-20T23:10:30.123Z","dependency_job_id":null,"html_url":"https://github.com/zuf/html2mail","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuf%2Fhtml2mail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuf%2Fhtml2mail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuf%2Fhtml2mail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuf%2Fhtml2mail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zuf","download_url":"https://codeload.github.com/zuf/html2mail/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681048,"owners_count":20330155,"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":"2025-03-15T04:16:12.271Z","updated_at":"2025-03-15T04:16:12.740Z","avatar_url":"https://github.com/zuf.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# html2mail\n\nConsole tool which generates html/eml stuff for your newsletters from html-files (support images in separate files)\n\n\n[![Gem Version](https://badge.fury.io/rb/html2mail.svg)](https://badge.fury.io/rb/html2mail)\n\n\n## Examples\n\nShow inline help:\n\nGeneral help: `html2mail help`\nHel for `send` command: `html2mail send --help`\n\n\nConvert html with images to .eml\n\n`html2mail convert /path/to/newsletter.html`\n\nor all html files at once:\n\n`html2mail convert /path/to/*.html`\n\n\nSave \"premailed\" HTML files (convert css to inline styles):\n\n`html2mail prepare /path/to/*.html`\n\n\nSend test emails and use stored config for SMTP server:\n\n`html2mail --smtp_address=mail.example.com --smtp_user_name=newsletter@example.com --smtp_password=princess1 send /path/to/newsletters/*.html --to your@domain.com --subj='Test mail'`\n\n\nInit SMTP config:\n\n\u003e WARNING: Password stored as plain text in config file `.html2mail.yml` file in $HOME for Linux\n\n`html2mail --smtp_address=mail.example.com --smtp_user_name=newsletter@example.com --smtp_password=princess1 initconfig`\n\n\nSend test emails and use stored config for SMTP server:\n\n`html2mail send /path/to/newsletters/*.html --to your@domain.com`\n\n\nSend newsletter.html to all adresses from list.txt:\n\n`html2mail bulksend -l list.txt newsletter.html`\n\n\n## Based on gems\n\n * ActionMailer\n * premailer\n * nokogiri\n * GLI\n\n\n### License\n\nMIT License","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuf%2Fhtml2mail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzuf%2Fhtml2mail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuf%2Fhtml2mail/lists"}