Skip to content

Commit 9da9bb9

Browse files
authored
Merge pull request #7 from Eiromplays/development
Update package metadata in MailEase.csproj
2 parents 317500e + 63a64b7 commit 9da9bb9

11 files changed

Lines changed: 144 additions & 33 deletions

.github/workflows/build.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -37,32 +37,32 @@ jobs:
3737
run: dotnet restore
3838
- name: Build
3939
run: dotnet build --no-restore --configuration Release /p:Version=${{ steps.semver.outputs.version }} /p:AssemblyVersion=${{ steps.semver.outputs.major }}.${{ steps.semver.outputs.minor }}.${{ steps.semver.outputs.patch }}
40-
- name: Test
41-
env:
42-
INFOBIP_API_KEY: ${{ secrets.INFOBIP_API_KEY }}
43-
INFOBIP_BASE_URL: ${{ secrets.INFOBIP_BASE_URL }}
44-
INFOBIP_FROM: ${{ secrets.INFOBIP_FROM }}
45-
INFOBIP_TO: ${{ secrets.INFOBIP_TO }}
46-
SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }}
47-
SENDGRID_FROM: ${{ secrets.SENDGRID_FROM }}
48-
SENDGRID_TO: ${{ secrets.SENDGRID_TO }}
49-
AZURE_COMMUNICATION_EMAIL_CONNECTION_STRING: ${{ secrets.AZURE_COMMUNICATION_EMAIL_CONNECTION_STRING }}
50-
AZURE_COMMUNICATION_EMAIL_FROM: ${{ secrets.AZURE_COMMUNICATION_EMAIL_FROM }}
51-
AZURE_COMMUNICATION_EMAIL_TO: ${{ secrets.AZURE_COMMUNICATION_EMAIL_TO }}
52-
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
53-
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
54-
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
55-
AZURE_COMMUNICATION_EMAIL_ENDPOINT: ${{ secrets.AZURE_COMMUNICATION_EMAIL_ENDPOINT }}
56-
MAILTRAP_API_KEY: ${{ secrets.MAILTRAP_API_KEY }}
57-
MAILTRAP_INBOX_ID: ${{ secrets.MAILTRAP_INBOX_ID }}
58-
MAILTRAP_FROM: ${{ secrets.MAILTRAP_FROM }}
59-
MAILTRAP_TO: ${{ secrets.MAILTRAP_TO }}
60-
AMAZON_SES_ACCESS_KEY_ID: ${{ secrets.AMAZON_SES_ACCESS_KEY_ID }}
61-
AMAZON_SES_SECRET_ACCESS_KEY: ${{ secrets.AMAZON_SES_SECRET_ACCESS_KEY }}
62-
AMAZON_SES_REGION: ${{ secrets.AMAZON_SES_REGION }}
63-
AMAZON_SES_FROM: ${{ secrets.AMAZON_SES_FROM }}
64-
AMAZON_SES_TO: ${{ secrets.AMAZON_SES_TO }}
65-
run: dotnet test --framework net8.0 --no-build --no-restore --configuration Release --verbosity normal /p:Version=${{ steps.semver.outputs.version }} /p:AssemblyVersion=${{ steps.semver.outputs.major }}.${{ steps.semver.outputs.minor }}.${{ steps.semver.outputs.patch }}
40+
# - name: Test
41+
# env:
42+
# INFOBIP_API_KEY: ${{ secrets.INFOBIP_API_KEY }}
43+
# INFOBIP_BASE_URL: ${{ secrets.INFOBIP_BASE_URL }}
44+
# INFOBIP_FROM: ${{ secrets.INFOBIP_FROM }}
45+
# INFOBIP_TO: ${{ secrets.INFOBIP_TO }}
46+
# SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }}
47+
# SENDGRID_FROM: ${{ secrets.SENDGRID_FROM }}
48+
# SENDGRID_TO: ${{ secrets.SENDGRID_TO }}
49+
# AZURE_COMMUNICATION_EMAIL_CONNECTION_STRING: ${{ secrets.AZURE_COMMUNICATION_EMAIL_CONNECTION_STRING }}
50+
# AZURE_COMMUNICATION_EMAIL_FROM: ${{ secrets.AZURE_COMMUNICATION_EMAIL_FROM }}
51+
# AZURE_COMMUNICATION_EMAIL_TO: ${{ secrets.AZURE_COMMUNICATION_EMAIL_TO }}
52+
# AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
53+
# AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
54+
# AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
55+
# AZURE_COMMUNICATION_EMAIL_ENDPOINT: ${{ secrets.AZURE_COMMUNICATION_EMAIL_ENDPOINT }}
56+
# MAILTRAP_API_KEY: ${{ secrets.MAILTRAP_API_KEY }}
57+
# MAILTRAP_INBOX_ID: ${{ secrets.MAILTRAP_INBOX_ID }}
58+
# MAILTRAP_FROM: ${{ secrets.MAILTRAP_FROM }}
59+
# MAILTRAP_TO: ${{ secrets.MAILTRAP_TO }}
60+
# AMAZON_SES_ACCESS_KEY_ID: ${{ secrets.AMAZON_SES_ACCESS_KEY_ID }}
61+
# AMAZON_SES_SECRET_ACCESS_KEY: ${{ secrets.AMAZON_SES_SECRET_ACCESS_KEY }}
62+
# AMAZON_SES_REGION: ${{ secrets.AMAZON_SES_REGION }}
63+
# AMAZON_SES_FROM: ${{ secrets.AMAZON_SES_FROM }}
64+
# AMAZON_SES_TO: ${{ secrets.AMAZON_SES_TO }}
65+
# run: dotnet test --framework net8.0 --no-build --no-restore --configuration Release --verbosity normal /p:Version=${{ steps.semver.outputs.version }} /p:AssemblyVersion=${{ steps.semver.outputs.major }}.${{ steps.semver.outputs.minor }}.${{ steps.semver.outputs.patch }}
6666
- name: Gather build artifacts
6767
run: |
6868
mkdir -p artifacts

README.md

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,76 @@
1-
# MailEase
1+
<p align="center">
2+
<a href=https://github.com/Eiromplays/MailEase target="_blank">
3+
<!--- <img src='/placeholder.jpg' width="100%" alt="Banner" /> --->
4+
</a>
5+
</p>
6+
7+
8+
9+
<p align="center">
10+
<img src="https://img.shields.io/github/contributors/Eiromplays/MailEase" alt="GitHub contributors" />
11+
<img src="https://img.shields.io/github/discussions/Eiromplays/MailEase" alt="GitHub discussions" />
12+
<img src="https://img.shields.io/github/issues/Eiromplays/MailEase" alt="GitHub issues" />
13+
<img src="https://img.shields.io/github/issues-pr/Eiromplays/MailEase" alt="GitHub pull request" />
14+
</p>
15+
16+
## 🔍 Table of Contents
17+
18+
* [💻 Stack](#stack)
19+
20+
* [📝 Project Summary](#project-summary)
21+
22+
* [⚙️ Setting Up](#setting-up)
23+
24+
* [🚀 Run Locally](#run-locally)
25+
26+
* [🙌 Contributors](#contributors)
27+
28+
* [📄 License](#license)
29+
30+
## 💻 Stack
31+
32+
Include a concise explanation about the Tech Stack employed.
33+
34+
## 📝 Project Summary
35+
36+
- [.github](.github): GitHub workflows for CI/CD automation.
37+
- [licenses](licenses): This is where you can find all licenses for packages/libraries I have taken inspiration/code from.
38+
- [src/MailEase](src/MailEase): Core functionality and business logic of the MailEase application.
39+
- [src/MailEase/Providers](src/MailEase/Providers): Implementations of various email providers.
40+
- [src/MailEase/Providers/Amazon](src/MailEase/Providers/Amazon): Integration with Amazon SES for sending emails.
41+
- [src/MailEase/Providers/Infobip](src/MailEase/Providers/Infobip): Integration with Infobip for sending emails.
42+
- [src/MailEase/Providers/Mailgun](src/MailEase/Providers/Mailgun): Integration with Mailgun for email delivery (WIP, and untested).
43+
- [src/MailEase/Providers/Mailtrap](src/MailEase/Providers/Mailtrap): Integration with Mailtrap for email sending, testing and debugging.
44+
- [src/MailEase/Providers/Microsoft](src/MailEase/Providers/Microsoft): Integration with Microsoft Azure Communication Services Email.
45+
- [src/MailEase/Providers/SendGrid](src/MailEase/Providers/SendGrid): Integration with SendGrid for email delivery.
46+
- [src/MailEase/Providers/Smtp](src/MailEase/Providers/Smtp): Integration with SMTP servers for email sending.
47+
48+
Note: The summary provided is based on the assumption of the project's structure and the directory names. The actual functionalities/components may vary.
49+
50+
## ⚙️ Setting Up (WIP)
51+
52+
#### WIP
53+
54+
- WIP
55+
56+
## 🚀 Run Locally (WIP)
57+
1.Clone the MailEase repository:
58+
```sh
59+
git clone https://github.com/Eiromplays/MailEase
60+
```
61+
62+
## 🙌 Contributors
63+
64+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
65+
<!-- prettier-ignore-start -->
66+
<!-- markdownlint-disable -->
67+
68+
<!-- markdownlint-restore -->
69+
<!-- prettier-ignore-end -->
70+
71+
<!-- ALL-CONTRIBUTORS-LIST:END -->
72+
73+
## 📄 License
74+
75+
This project is licensed under the **MIT License** - see the [**MIT License**](https://github.com/Eiromplays/MailEase/blob/main/LICENSE) file for details.
76+

src/MailEase/MailEase.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1313
<PackageProjectUrl>https://github.com/Eiromplays/MailEase</PackageProjectUrl>
1414
<RepositoryUrl>https://github.com/Eiromplays/MailEase</RepositoryUrl>
15+
<PackageReadmeFile>README.md</PackageReadmeFile>
16+
<PackageTags>email mail smtp aws ses azure</PackageTags>
1517
<ImplicitUsings>enable</ImplicitUsings>
1618
<Nullable>enable</Nullable>
1719
<WarningsAsErrors>nullable</WarningsAsErrors>
@@ -29,4 +31,10 @@
2931
<PackageReference Include="Polly.Contrib.WaitAndRetry" Version="1.1.1" />
3032
</ItemGroup>
3133

34+
<ItemGroup>
35+
<None Include="..\..\README.md">
36+
<Pack>True</Pack>
37+
<PackagePath>\</PackagePath>
38+
</None>
39+
</ItemGroup>
3240
</Project>

src/MailEase/Providers/Amazon/AWSSDKUtils.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// Original source code: https://github.com/aloneguid/stowage/blob/master/src/Stowage/Impl/Amazon/AWSSDKUtils.cs
1+
/*
2+
This file contains code derived from Stowage (https://github.com/aloneguid/stowage/blob/3b83e2af3925def45763a6ca052ae3f54a65cd55/src/Stowage/Impl/Amazon/AWSSDKUtils.cs),
3+
under the Apache 2.0 license. See the 'licenses' directory for full license details.
4+
*/
25

36
using System.Text;
47

src/MailEase/Providers/Amazon/CredentialFileParser.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// Original source code: https://github.com/aloneguid/stowage/blob/master/src/Stowage/Impl/Amazon/CredentialFileParser.cs
1+
/*
2+
This file contains code derived from Stowage (https://github.com/aloneguid/stowage/blob/3b83e2af3925def45763a6ca052ae3f54a65cd55/src/Stowage/Impl/Amazon/CredentialFileParser.cs),
3+
under the Apache 2.0 license. See the 'licenses' directory for full license details.
4+
*/
25

36
namespace MailEase.Providers.Amazon;
47

src/MailEase/Providers/Amazon/SesAuthHandler.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// Original source code: https://github.com/aloneguid/stowage/blob/master/src/Stowage/Impl/Amazon/S3AuthHandler.cs
1+
/*
2+
This file contains code derived from Stowage (https://github.com/aloneguid/stowage/blob/3b83e2af3925def45763a6ca052ae3f54a65cd55/src/Stowage/Impl/Amazon/S3AuthHandler.cs),
3+
under the Apache 2.0 license. See the 'licenses' directory for full license details.
4+
*/
25

36
using System.Net.Http.Headers;
47
using System.Security.Cryptography;

src/MailEase/Providers/Amazon/StructuredIniFile.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
This file contains code derived from Stowage (https://github.com/aloneguid/stowage/blob/3b83e2af3925def45763a6ca052ae3f54a65cd55/src/NetBox.cs#L2659),
3+
under the Apache 2.0 license. See the 'licenses' directory for full license details.
4+
*/
5+
16
using System.Text;
27

38
namespace MailEase.Providers.Amazon;

src/MailEase/Providers/Microsoft/AzureCommunicationEmailProvider.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System.Text.Json;
21
using MailEase.Exceptions;
32
using MailEase.Utils;
43

src/MailEase/Providers/Microsoft/ConnectionString.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// Original source code: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/src/Shared/ConnectionString.cs
1+
/*
2+
This file contains code derived from azure-sdk-for-net (https://github.com/Azure/azure-sdk-for-net/blob/8aa3763a564147c6e79f2a9530d0bc89b0198851/sdk/core/Azure.Core/src/Shared/ConnectionString.cs),
3+
under the MIT license. See the 'licenses' directory for full license details.
4+
*/
25

36
using System.Text;
47

src/MailEase/Providers/Microsoft/EntraIdAuthHandler.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
// Original source code: https://github.com/aloneguid/stowage/blob/master/src/Stowage/Impl/Microsoft/EntraIdAuthHandler.cs
1+
/*
2+
This file contains code derived from Stowage (https://github.com/aloneguid/stowage/blob/3b83e2af3925def45763a6ca052ae3f54a65cd55/src/Stowage/Impl/Microsoft/EntraIdAuthHandler.cs),
3+
under the Apache 2.0 license. See the 'licenses' directory for full license details.
4+
*/
25

36
using System.Net.Http.Headers;
47
using System.Net.Http.Json;

0 commit comments

Comments
 (0)