{"id":21469286,"url":"https://github.com/augmentedlogic/nanosmtp-java","last_synced_at":"2025-08-30T10:43:19.222Z","repository":{"id":130854020,"uuid":"324739286","full_name":"augmentedlogic/nanosmtp-java","owner":"augmentedlogic","description":"A Small SMTP Client Library for Java","archived":false,"fork":false,"pushed_at":"2020-12-29T16:42:14.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-17T06:35:31.977Z","etag":null,"topics":["java","smtp-client"],"latest_commit_sha":null,"homepage":"","language":"Java","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/augmentedlogic.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":"2020-12-27T10:42:31.000Z","updated_at":"2024-01-27T13:51:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ca413db-58c9-4697-8426-4af66f8b68fe","html_url":"https://github.com/augmentedlogic/nanosmtp-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/augmentedlogic/nanosmtp-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augmentedlogic%2Fnanosmtp-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augmentedlogic%2Fnanosmtp-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augmentedlogic%2Fnanosmtp-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augmentedlogic%2Fnanosmtp-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/augmentedlogic","download_url":"https://codeload.github.com/augmentedlogic/nanosmtp-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augmentedlogic%2Fnanosmtp-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272839673,"owners_count":25001862,"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-30T02:00:09.474Z","response_time":77,"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":["java","smtp-client"],"created_at":"2024-11-23T09:15:00.960Z","updated_at":"2025-08-30T10:43:19.192Z","avatar_url":"https://github.com/augmentedlogic.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nanosmtp-java\n\nA Small SMTP Client Library for Java\n\n## Usage \n\n```java\nimport com.augmentedlogic.nanosmtp.*;\n\n\n       // simple usage (smtp via SSL/TLS)\n\n       MailHost mailhost = new MailHost();\n                mailhost.setHost(\"smtp.example.com\", 465);\n                mailhost.setAuth(\"me@example.com\", \"supersecretpassword\");\n\n       Email email = new Email();\n             email.setFrom(\"me@example.com\");\n             email.setRecipient(\"someone@example.com\");\n             email.setSubject(\"Hello I am using a new java library\");\n             email.setBody(\"Hi. Just wanted to say I am testing SMTP!\");\n\n       try {\n             EmailClient emailclient = new EmailClient();\n             String response = emailclient.send(mailhost, email);\n             System.out.println(\"RESPONSE: \" + response);\n       } catch( Exception e ) {\n            e.printStackTrace();\n       }\n\n\n\n       // advanced Options\n\n               // use STARTTLS instead of TLS directly\n\n               mailhost.useStarttls(); \n\n               // use \"AUTH LOGIN\", default is \"AUTH PLAIN\" \n\n               mailhost.setAuthType(MailHost.AUTH_LOGIN); \n\n               // If you specify an HTML body in addition to setBody(), \n               // the email will be send as multipart/alternative\n\n               email.setHtmlBody(\"Hi. Just wanted to say I am \u003cb\u003etesting\u003c/b\u003e SMTP!\");\n\n\n       // debugging Options\n\n               // print all messaging to stdout, default: false\n\n               emailclient.setDebug(false);\n\n               // do not actually send the email, instead just print the formatted \n               // email and headers to stdout.\n\n               emailclient.setEnableSend(false);\n       \n```      \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugmentedlogic%2Fnanosmtp-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faugmentedlogic%2Fnanosmtp-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugmentedlogic%2Fnanosmtp-java/lists"}