From fb548497d0688f1ea28163426368aa3471622cad Mon Sep 17 00:00:00 2001 From: mabrouk Date: Mon, 12 Aug 2024 00:11:21 +0200 Subject: [PATCH] INFRA: Nuget Package Description --- FlexiMail/FlexiMail.csproj | 48 ++++++++++++++++++++++++++++++----- FlexiMail/FlexiMailClient.cs | 11 ++++++++ FlexiMail/icmail.png | Bin 0 -> 6574 bytes FlexiMail/license.txt | 21 +++++++++++++++ 4 files changed, 74 insertions(+), 6 deletions(-) create mode 100644 FlexiMail/icmail.png create mode 100644 FlexiMail/license.txt 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 0000000000000000000000000000000000000000..1bbcf5b420a29d55b5a9d1513970196c4bed1978 GIT binary patch literal 6574 zcmb7Jc|6q5|94;2S~oe`){%&19l5Dp>n6FElx5x5t_>w5$zsV;f0xv7FJ4eo$oURX3pUQ$X@3arKiQo%YnD&2)6{%uSyse+wx zIBz8g#Lv%9(oaUx3+n`tR#a4kNI@Y`s03L;!sn4E&dy)L(?{?e;y)O0w2wX3#T)11 zf9hIV0M2x%zTGIJa`^A5p8;}h&2^*5EM2FNS%{MIf)J1u8uEPe6-}vFiBR%q z4tCFx0b7AvK!#@y8(XFN9v+F<+B!xcl-*rJ56+v!oNp`7!CK@*mPX5lVO6V{=1O3kdr9AF-`tXjMNAuxua;wpVD_hCa zrl}%1Mvk?ODYd@Esc_H>(CNaImrH@ck3nRLKdDIG_<8y8I6S*Z1VhSgSeO{q#}_#l z)TojwL}va}COB6z>`EUeqPOsc5)H5cZA3iCSfzo+s||Q_E>N3S@Tg6h1{jq zU4cC;PCxy;e+%SEDW%A4^Ch~xZeFa7)K{N}p71*DusUUh$zU~!c@&|IfhGNVn>_nB zj(PX1Hu-f0lYV&!2~O7*iN*R>^!5i>4O!F-HLU!l{9?<&%F%4HE2AkQqaeu3o-}+b z_9)aA^5;aoL*Uz@-sTx+`be;A&TqE@1MVp^Te*s1A;O3A~aY?bh4H)8lS}cVu>cAB{=N}SzQpzhtw#vC_u-%JOFL!QheRm605G-Iv z#9Wqm&alehghOkw$@O@|@gf(00sdrIde6wi*BoFj-L=qmxYjR#{I+taSMMwYbK_FI>> zmWj+h+4YDF|279bDCob%r&TH|Ca`xK6B7in4e~6~$;D?fmxC z%P`%z5@7>kT-iM~(B`_0FS#y|+=U)@z-c58DO}_VSX8M$6#d|yRV1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