{"id":23158128,"url":"https://github.com/lightbuzz/smtp-winrt","last_synced_at":"2025-08-18T01:30:45.088Z","repository":{"id":20283922,"uuid":"23557260","full_name":"LightBuzz/SMTP-WinRT","owner":"LightBuzz","description":"An SMTP client for WinRT. Send emails from within your Windows 8 and Windows Phone app.","archived":false,"fork":false,"pushed_at":"2020-10-02T21:11:26.000Z","size":55,"stargazers_count":21,"open_issues_count":4,"forks_count":9,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-07-31T06:27:56.727Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/LightBuzz.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}},"created_at":"2014-09-01T22:14:53.000Z","updated_at":"2024-02-20T10:37:47.000Z","dependencies_parsed_at":"2022-08-25T19:21:26.837Z","dependency_job_id":null,"html_url":"https://github.com/LightBuzz/SMTP-WinRT","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LightBuzz/SMTP-WinRT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightBuzz%2FSMTP-WinRT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightBuzz%2FSMTP-WinRT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightBuzz%2FSMTP-WinRT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightBuzz%2FSMTP-WinRT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LightBuzz","download_url":"https://codeload.github.com/LightBuzz/SMTP-WinRT/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightBuzz%2FSMTP-WinRT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270932556,"owners_count":24670240,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"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":[],"created_at":"2024-12-17T22:18:07.678Z","updated_at":"2025-08-18T01:30:44.790Z","avatar_url":"https://github.com/LightBuzz.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SMTP client for Windows Store\n\nAn SMTP client for Windows Store apps (WinRT and UWP). Send emails from within your Windows Universal App.\n\n## Installation\nYou can download and build this project or simply install it via NuGet:\n\t\n\tPM\u003e Install-Package lightbuzz-smtp\n\nThis requires the 'internetClient' Capability to be enabled in the Package.appxmanifest of the universal app.\n## Examples\nImport the assembly to your project and include its namespace:\n\t\n\tusing LightBuzz.SMTP;\n\n### Send an email message\n*This is an example of using your own SMTP server. Check below for using Gmail and Outlook.*\n  \n  \tusing (SmtpClient client = new SmtpClient(\"smtp.example.com\", 465, false, \"info@example.com\", \"Pa$$w0rd\"))\n  \t{\n\t        EmailMessage emailMessage = new EmailMessage();\n\t\n\t        emailMessage.To.Add(new EmailRecipient(\"someone1@anotherdomain.com\"));\n\t        emailMessage.CC.Add(new EmailRecipient(\"someone2@anotherdomain.com\"));\n\t        emailMessage.Bcc.Add(new EmailRecipient(\"someone3@anotherdomain.com\"));\n\t        emailMessage.Subject = \"Subject line of your message\";\n\t        emailMessage.Body = \"This is an email sent from a WinRT app!\";\n\t        \n\t        await client.SendMailAsync(emailMessage);\n  \t}\n  \n### Credentials for Gmail\n\n\tServer: smtp.gmail.com\n  \tPort: 465\n  \tSSL: True\n  \n#### Important Note for Gmail\n\nSince this does not use OAUTH2, Gmail considers this a \"less secure app\".  To use this with Gmail, the \"Access for less secure apps\" setting on the account will have to be changed to \"Enable\".\n  \n### Credentials for Outlook\n\n\tServer: smtp-mail.outlook.com\n  \tPort: 587\n  \tSSL: False (upgarde SSL after STARTTLS)\n\n## Contributors\n* [Vangos Pterneas](http://pterneas.com) from [LightBuzz](http://lightbuzz.com)\n* [Alex Borghi](https://it.linkedin.com/pub/alessandro-borghi/75/957/493)\n* [Jochen Kalmbach](http://blog.kalmbach-software.de/)\n* [PrimalZed](https://github.com/PrimalZed)\n* [Radu Mihai Enghis](http://www.enghis.de)\n* Based on code by [Sebastien Pertus](http://bit.ly/1q4focT) from [Microsoft](http://microsoft.com)\n\n## Blog post\nRead the detailed post by Sebastien [here](http://bit.ly/1q4focT).\n\n## License\nYou are free to use these libraries in personal and commercial projects by attributing the original creator of the project. [View full License](https://github.com/LightBuzz/SMTP-WinRT/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightbuzz%2Fsmtp-winrt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightbuzz%2Fsmtp-winrt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightbuzz%2Fsmtp-winrt/lists"}