diff --git a/FlexiMail/FlexiMail.csproj b/FlexiMail/FlexiMail.csproj index 7f2e30a..cb1ef5c 100644 --- a/FlexiMail/FlexiMail.csproj +++ b/FlexiMail/FlexiMail.csproj @@ -4,18 +4,54 @@ net8.0 disable disable + FlexiMail + FlexiMail + Mabrouk Mahdhi + Mabrouk Mahdhi + FlexiMail + FlexiMail is a robust, test-driven C# library tailored specifically for seamless email integration using Microsoft Exchange Web Services (EWS). + Mabrouk Mahdhi (c) 2024 + https://github.com/mabroukmahdhi/FlexiMail + icmail.png + https://github.com/mabroukmahdhi/FlexiMail + git + EWS; .NET; Mailing; Message; Exchange; Exchange WebServices + This release offers the beta version of FlexiMail. + 0.1 + 0.1 + license.txt + True + True + 0.1 + README.md + True - - - - + + True + \ + + + True + \ + + + True + \ + - - + + + + + + + + + diff --git a/FlexiMail/FlexiMailClient.cs b/FlexiMail/FlexiMailClient.cs index 9736c8b..dd41ed0 100644 --- a/FlexiMail/FlexiMailClient.cs +++ b/FlexiMail/FlexiMailClient.cs @@ -13,10 +13,17 @@ namespace FlexiMail { + /// + /// Client class to send mails through Exchange WebServices. + /// public class FlexiMailClient : IFlexiMailClient { private readonly IFlexiExchangeService exchangeService; + /// + /// Creates Client Instance. + /// + /// The Exchange Configurations public FlexiMailClient(ExchangeConfigurations configurations) { var serviceProvider = RegisterServices(configurations); @@ -25,6 +32,10 @@ public FlexiMailClient(ExchangeConfigurations configurations) serviceProvider.GetRequiredService(); } + /// + /// Sends the email. + /// + /// The email model public async ValueTask SendAndSaveCopyAsync(FlexiMessage flexiMessage) => await this.exchangeService.SendAndSaveCopyAsync(flexiMessage); diff --git a/FlexiMail/icmail.png b/FlexiMail/icmail.png new file mode 100644 index 0000000..1bbcf5b Binary files /dev/null and b/FlexiMail/icmail.png differ diff --git a/FlexiMail/license.txt b/FlexiMail/license.txt new file mode 100644 index 0000000..a456174 --- /dev/null +++ b/FlexiMail/license.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Mabrouk Mahdhi + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.