{"id":19241585,"url":"https://github.com/cwbudde/cordova-plugin-smtp-client","last_synced_at":"2025-04-21T09:32:27.940Z","repository":{"id":46060687,"uuid":"105800750","full_name":"CWBudde/cordova-plugin-smtp-client","owner":"CWBudde","description":"Basic SMTP client for editing and sending email messages","archived":false,"fork":false,"pushed_at":"2021-11-16T22:32:58.000Z","size":546,"stargazers_count":5,"open_issues_count":4,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T05:04:28.773Z","etag":null,"topics":["android","cordova","ios","smtp","smtp-client"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CWBudde.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-04T18:03:14.000Z","updated_at":"2024-01-09T19:41:38.000Z","dependencies_parsed_at":"2022-09-17T23:00:40.572Z","dependency_job_id":null,"html_url":"https://github.com/CWBudde/cordova-plugin-smtp-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CWBudde%2Fcordova-plugin-smtp-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CWBudde%2Fcordova-plugin-smtp-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CWBudde%2Fcordova-plugin-smtp-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CWBudde%2Fcordova-plugin-smtp-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CWBudde","download_url":"https://codeload.github.com/CWBudde/cordova-plugin-smtp-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250032146,"owners_count":21363780,"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":["android","cordova","ios","smtp","smtp-client"],"created_at":"2024-11-09T17:11:55.077Z","updated_at":"2025-04-21T09:32:27.564Z","avatar_url":"https://github.com/CWBudde.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cordova SMTP Client\n\nBasic SMTP client cordova plugin for editing and sending email messages.\n\n## Installation\n\nInstall iOS and/or Android platform\n\n    cordova platform add ios\n    cordova platform add android\n\nInstall the plugin using any plugman compatible cli\n\n    $ cordova plugin add https://github.com/CWBudde/cordova-plugin-smtp-client.git\n\n## Usage\n\nOn Javascript, use code that is similar to the following.\n\n\tvar mailSettings = {\n\t    emailFrom: \"emailFrom@domain.com\",\n\t    emailTo: \"emailTo@domain.com\",\n\t    smtp: \"smtp-mail.domain.com\",\n\t    smtpUserName: \"authuser@domain.com\",\n\t    smtpPassword: \"password\",\n\t    attachments: [\"attachment1\", \"attachment2\"],\n\t    subject: \"email subject\",\n\t    textBody: \"write something within the body of the email\"\n\t};\n\t            \n\tvar success = function(message) {\n\t\talert(message);\n\t}\n\t\n\tvar failure = function(message) {\n\t\talert(\"Error sending the email\");\n\t}\t\t\t\n\t\t\t\t\n\tsmtpClient.sendMail(mailSettings, success, failure);\n\n### Attachments\n\nThe attachments is an array of strings.\n\nOn the iOS platform, it must use a [DATA_URI format](doc/attachments.md).\n\nOn the Android platform, it must be the path to the file.\n\n### Return type\n\t\nThe return object \"message\" has the following structure\n\n\t{\n\t\tsuccess: boolean,\n\t\terrorCode: number,\n\t\terrorMessage: string\t    \n\t}\n\n## Copyright\n\nThe library was originally written by albernazf ([cordova-smtp-client](https://github.com/albernazf/cordova-smtp-client)) and later modified by Nelson Medina Humberto ([cordova-smtp-client](https://github.com/nelsonhumberto/cordova-smtp-client/)).\n\nOn iOS it makes use of the skpsmtpmessage library, which was originally written by Ian Baird. A recent fork can be found on ([skpsmtpmessage](https://github.com/jetseven/skpsmtpmessage)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwbudde%2Fcordova-plugin-smtp-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcwbudde%2Fcordova-plugin-smtp-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwbudde%2Fcordova-plugin-smtp-client/lists"}