diff options
| author | Aldrik Ramaekers <aldrik@mailbox.org> | 2025-12-27 17:25:41 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@mailbox.org> | 2025-12-27 17:25:41 +0100 |
| commit | 7c3a271feea4b3693bf93a47924f7c682585e179 (patch) | |
| tree | b72a1f3f2780f9f22f679e18f5d1780541cc040b /src/providers/MailerSend.cpp | |
| parent | 28c730a2e35ce81634dd4d47bf8e92e4552ec17c (diff) | |
mail provider settings ui
Diffstat (limited to 'src/providers/MailerSend.cpp')
| -rw-r--r-- | src/providers/MailerSend.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/providers/MailerSend.cpp b/src/providers/MailerSend.cpp new file mode 100644 index 0000000..961e457 --- /dev/null +++ b/src/providers/MailerSend.cpp @@ -0,0 +1,35 @@ +/* +* Copyright (c) 2025 Aldrik Ramaekers <aldrik.ramaekers@gmail.com> +* +* Permission to use, copy, modify, and/or distribute this software for any +* purpose with or without fee is hereby granted, provided that the above +* copyright notice and this permission notice appear in all copies. +* +* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +*/ + +#include <threads.h> + +#define CPPHTTPLIB_OPENSSL_SUPPORT +#include "httplib.h" + +#include "memops.hpp" +#include "strops.hpp" +#include "logger.hpp" +#include "importer.hpp" + +bool _MailerSend_send_email(char* sender, char* recipients, u32 recipients_count, const char* subject, const char* text) +{ + return false; +} + +importer::email_provider_impl _mailersend_api_provider = { + "MailerSend", + _MailerSend_send_email, +};
\ No newline at end of file |
