{"id":19099173,"url":"https://github.com/diev/mailer","last_synced_at":"2026-06-04T16:31:50.284Z","repository":{"id":109041999,"uuid":"64934924","full_name":"diev/Mailer","owner":"diev","description":"A simple console email sender to send reports from batch files without any configs.","archived":false,"fork":false,"pushed_at":"2024-04-06T13:43:19.000Z","size":499,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T09:45:49.465Z","etag":null,"topics":["batch-files","blat","c-sharp","console-application","csharp","mailer","netsend","russian","simple","smtp","smtpclient"],"latest_commit_sha":null,"homepage":"http://diev.github.io/Mailer/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diev.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":"2016-08-04T13:00:05.000Z","updated_at":"2024-04-01T16:45:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac47ac49-d6a9-4e0d-9e44-5cf5e2146606","html_url":"https://github.com/diev/Mailer","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/diev/Mailer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diev%2FMailer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diev%2FMailer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diev%2FMailer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diev%2FMailer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diev","download_url":"https://codeload.github.com/diev/Mailer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diev%2FMailer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33914546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["batch-files","blat","c-sharp","console-application","csharp","mailer","netsend","russian","simple","smtp","smtpclient"],"created_at":"2024-11-09T03:48:59.162Z","updated_at":"2026-06-04T16:31:50.260Z","avatar_url":"https://github.com/diev.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Mailer]\n\nA simple console email sender to send reports from batch files without \nany configs. Mailer gives you a powerful way to replace the former favorite \nBlat when it becomes out of use.\n\nПростой консольный почтовый клиент для отправки почтовых сообщений из \nконсольных коммандных файлов, когда программа Blat, некогда популярная, \nуже не удовлетворяет.\n\n## Settings\n\n*Windows Credential Manager* (find it in *Control Panel*):\n\nAdd a target name: `SMTP {host} {port} [tls]`,\nwith user name: `{sender@host}`, password: `{password}`.\n\n## Usage\n\nRun without arguments (or with '?' in any place) to get help.\n\n    Mailer.exe ?\n\nUse at least one argument in such order:\n\n    Mailer to subject body attach\n\nIf '-' is placed instead *to*, the *sender*'s address will be used.\nYou can write a few recipients separated \nby ',' (or ';', they will be properly replaced).\n\nIf *subject* or *body* starts with:\n\n  * '-' take content from a file in *DOS 866*\n  * '=' take content from a file in *Windows 1251*\n  * '\\*' take content from a file in *UTF-8*\n\nAdditionally after *subject* ':' you can specify a number of a line\nin that file (from top otherwise bottom, if negative).\nDefault is 1 (the first line from top of file).\n\nSame after *body* you can specify a number of lines of that file\n(from top otherwise bottom, if negative). Default is 0 - entire file.\n\nIn *attach* you can specify a few filenames separated by ',' and ';' \n\nIf an argument contains spaces, it must be enclosed with quotes \"\".\n\nIf no arguments or there is '?' somewhere, it will be shown this Usage text.\n\n## Examples\n\n    Mailer - Test\n    Mailer a,b,c Test Body-text\n    Mailer - \"Test subject\" \"Long body text with spaces.\"\n    Mailer - \"Test DOS file\" -filename.txt\n    Mailer - \"Test Win file\" =filename.txt\n    Mailer - \"Test UTF file\" *filename.txt\n    Mailer - \"Test include\" \"-Body from DOS 866.txt\"\n    Mailer - \"*Subject from UTF-8.txt\" \"-Body from DOS 866.txt\"\n    Mailer - \"Top 10 lines\" -c:\\filename.txt:10\n    Mailer - \"Last 5 lines\" -c:\\filename.txt:-5\n    Mailer - report.txt \"\" report.txt\n    Mailer - -report.txt:2 \"Date in subj, file attached.\" report.txt\n    Mailer - =error.log:-1 \"Last error in subj!\"\n    Mailer - Files \"3 attachments.\" file1.txt,file2.txt,file3.txt\n    Mailer - \"Just files\" \"\" \"Report 2016.xlsm, My Doc.docx\"\n\n## Exit codes for ERRORLEVEL\n\n(They still can be changed during the further development.)\n\n  * 0 - Normal\n  * 1 - Email sending was canceled\n  * 2 - Shown Usage\n  * 3 - Wrong argument\n  * 4 - File not found\n\n## Requirements\n\n- .Net Framework 4.8\n\n## License\n\nLicensed under the [Apache License, Version 2.0].\n\n[Mailer]: https://diev.github.io/Mailer/\n[Apache License, Version 2.0]: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiev%2Fmailer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiev%2Fmailer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiev%2Fmailer/lists"}