Skip to content

Add HTML body email feature #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mirushi
Copy link

@mirushi mirushi commented Aug 13, 2021

Add simple checkbox to enable HTML Body email feature.

@Einstein2150
Copy link

👍

@Einstein2150
Copy link

maybe mailMessage.IsBodyHtml = true; after Line 88 could fix this 🤷🏻‍♂️

@mirushi
Copy link
Author

mirushi commented Nov 29, 2022

maybe mailMessage.IsBodyHtml = true; after Line 88 could fix this 🤷🏻‍♂️

Yes, but that would be always on.

@Einstein2150
Copy link

maybe mailMessage.IsBodyHtml = true; after Line 88 could fix this 🤷🏻‍♂️

Yes, but that would be always on.

I want to build it with your changes but I have issues in VS. I've already installed NET-Framework 4.8 but it doesn't work :-/

C:\Program Files\dotnet\sdk\7.0.100\Microsoft.Common.CurrentVersion.targets(3312,5): error MSB3823: Für Ressourcen, die nicht im Zeichenfolgenformat vorliegen, muss die Eigenschaft "GenerateResourceUs ePreserializedResources" auf "true" festgelegt werden. [Y:\Downloads\SimpleSMTPClient-master\SimpleSmtpClient\SimpleSmtpClient.csproj] C:\Program Files\dotnet\sdk\7.0.100\Microsoft.Common.CurrentVersion.targets(3312,5): error MSB3822: Ressourcen, die nicht im Zeichenfolgenformat vorliegen, erfordern zur Laufzeit die System.Resources. Extensions-Assembly, aber diese wurde in den Projektverweisen nicht gefunden. [Y:\Downloads\SimpleSMTPClient-master\SimpleSmtpClient\SimpleSmtpClient.csproj]

Can you build it with your changes?

@Einstein2150
Copy link

maybe mailMessage.IsBodyHtml = true; after Line 88 could fix this 🤷🏻‍♂️

Yes, but that would be always on.

I got it finally to work. I released a fork here: https://github.com/Einstein2150/SimpleSMTPClient

I had to fix some dependencies. The build succeeded with MSBuild.exe 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants