Open davidetaddeucci opened 8 years ago
How would this library have to be changed to do this?
If you know, want to open a pull request?
I'm going to close this ticket for now. I'm open to any suggestions and help on this, but I probably won't do it on my own.
If anybody wants to pick it up, note it here and we can reopen.
Ok, I've been looking at dotnetcore for another project, and... I think this is doable. Simple enough that I'd do it.
nice one, will be interested in that
Do you have an idea of a timetable for this enhancement? Thanks!
Hi @waglons I don't have a timetable set. I was going to wait for more dust to settle on Core before I jumped back in. I think there were a few things that I use that I needed to get converted... specifically Unity, Moq, or other test stuff. I blew a decent amount of time converting a couple libraries to Core, and failed because it just didn't seem ready yet.
Do you know how things are now? Someone told me that Moq was on Core now. I'll take another look. @ppreget
Core seems to be moving fairly quickly. I've started using it on some client projects.
I'll take another look at it, as I need it for other projects as well.
If you're interested in this, I have a working port to a netstandard1.6 library. some temporary hacks until System.Net.Mail is released along with netstandard2.0:
MailMessage
to Transmission
{
"version": "0.0.0-*",
"buildOptions": {
"warningsAsErrors": false
},
"dependencies": {
"Newtonsoft.Json": "9.0.1",
"Mime": "2.0.0",
"System.Runtime.Extensions": "4.3.0"
},
"frameworks": {
"netstandard1.6": {
"dependencies": {
"NETStandard.Library": "1.6.0"
}
}
}
}
lemme know if you'd like me to post this up somewhere.. i haven't updated test projects or solutions or build stuff, but it might help you to just have the main project code.
You can zip it up and email it to me, at darren at cauthon dot com if that's easier for you. Thank you!
@andycmaj
FWIW, this should be in dotnetcore 2.0: https://github.com/dotnet/corefx/pull/12416, so you'll be able to remove that extra mime dependency and add back the System.Net.Mail mapping stuff.
On Wed, Feb 15, 2017 at 5:31 AM Darren Cauthon notifications@github.com wrote:
You can zip it up and email it to me, at darren at cauthon dot com if that's easier for you. Thank you!
@andycmaj https://github.com/andycmaj
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/darrencauthon/csharp-sparkpost/issues/79#issuecomment-280010959, or mute the thread https://github.com/notifications/unsubscribe-auth/AAF8vsjxA5yHqmzUK3Ed091z8jD-qaoOks5rcv4egaJpZM4IlJ4P .
What is the current plan to support .net core? We are stuck porting our SparkPostMail
app:
https://github.com/frapid/frapid/tree/master/src/Frapid.Web/Areas/SparkPostMail
We too have used a fork SparkPost with System.Net.MailMessage
dependencies removed (as they were not needed for us) and we didn't need to worry about mime types.
Same, it looks like I will have to fork this too as I need .netstandard 1.6 support. sigh.
EDIT: Super easy to do, I took this PR, https://github.com/darrencauthon/csharp-sparkpost/pull/138 - and made a few changes and SparkPost is now netstandard1.6 compliant. changes I make were....
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.6</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="10.0.2" />
</ItemGroup>
</Project>
I note that in .Net Framework 4.7, SMTP client is now flagged as obsolete with the suggestion being to use Mail/MimeKit.
Could this add further fuel to the fire of dropping support of System.Net.MailMessage
and/or using the MimeKit equivalent - MimeMessage
Still nothing on this? :(
I'm sorry guys.... still need more time.
I'll be dropping the MailMessage entirely, with the possibility of support for MimeMessage later.
Any updates?
Is it time to update the title of this ticket to support Core 2.0 or 3.0? 😅
Should this ticket be closed and instead reference #138 and #150? Is there anything special here that affects ASP.NET that is not addressed with support for .NET Core and/or .NET Standard?
When a release version compatible with ASP.Net Core 1.0? Thanks, D.