Code Monkey home page Code Monkey logo

mailgun_csharp's People

Contributors

bringking avatar keyoti avatar leotsarev avatar oxozle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mailgun_csharp's Issues

MailgunMessageService with MailgunMessageServiceOptions is not working

According to usage described in readme file, the usage of:

MailgunMessageServiceOptions mailOptions = new MailgunMessageServiceOptions
{
    Domain = ConfigurationManager.AppSettings["EmailDomain"],
    ApiKey = ConfigurationManager.AppSettings["EmailSecretKey"],
    TestMode = Convert.ToBoolean(ConfigurationManager.AppSettings["EmailTestMode"]),
    DefaultFrom = new Recipient() { DisplayName = ConfigurationManager.AppSettings["EmailFromDisplayName"], Email = ConfigurationManager.AppSettings["EmailFromAddress"] }                
};

manager.EmailService = new MailgunMessageService(mailOptions);

Is throwing next error:

Method not found: 'Void Mailgun.Service.MessageService..ctor(System.String, Boolean, System.String)'.

[MissingMethodException: Method not found: 'Void Mailgun.Service.MessageService..ctor(System.String, Boolean, System.String)'.]
Mailgun.AspNet.Identity.MailgunMessageService..ctor(IMailgunMessageServiceOptions options) +0
Transforce.Web.ApplicationUserManager.Create(IdentityFactoryOptions1 options, IOwinContext context) in D:\vaincRepos\GitHub\transforce\src\Transforce.Web\App_Start\IdentityConfig.cs:188 Microsoft.AspNet.Identity.Owin.IdentityFactoryProvider1.Create(IdentityFactoryOptions`1 options, IOwinContext context) +38
Microsoft.AspNet.Identity.Owin.d__0.MoveNext() +120
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +92
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
System.Runtime.CompilerServices.TaskAwaiter.GetResult() +26
Microsoft.AspNet.Identity.Owin.d__0.MoveNext() +417
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +92
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
System.Runtime.CompilerServices.TaskAwaiter.GetResult() +26
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d__5.MoveNext() +170
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +92
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
System.Runtime.CompilerServices.TaskAwaiter.GetResult() +26
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d__2.MoveNext() +166
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +26
Microsoft.Owin.Host.SystemWeb.Infrastructure.ErrorState.Rethrow() +26
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult ar) +81
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.EndFinalWork(IAsyncResult ar) +30
System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +380
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

DKIM is disabled by default

See subject.
This is not a sane default, because you literally always should have it enabled if you can, and Mailgun can't be set up w/o DKIM keys in DNS.
I used it for two years w/o realizing :-)

Maintainer needed!

Is this project still needing a maintainer? I am willing to take over this project due to my need to have for a robust .Net Mailgun library.

Maintainer

Hi. I'm using Mailgun a lot. I would like to port library to .net core and update with issues.
And update to NuGet
I'm from Saint-Petersburg also.

Getting 404 responses

Hi

I'm trying to get a simple example working, basically copying the code from your readme file. But I get 404 responses back.

When I look at the response object, I can see that it tries to access this URL:

http://api.mailgun.net/v2/sandbox84ad848982dd4091b90a6aa05701b901.mailgun.org/messages

And when I'm inside Mailgun´s application, it suggests using the v3 API. I don't know if thats the issue maybe. If so, is there any way I can specify the API version (or maybe something like a base URL) for the MessageService?

Cheers

Maintainer

Are you still looking for a maintainer?

I was considering starting up my own repo (and probably still will), but it would seem that with Mailgun's web service API and RestSharp, it's almost difficult to justify having a community-supported library. The repo I'll be building, however. will actually be used for a class I teach.

Either way, let me know.

Mailgun API update — email RFC checker

From mailgun support:

we recently made a change that would cause our API to no longer accept messages where the email address does not comply with RFC guidelines. ... We've rolled this back so the "should not work" should actually continue to work. However, we urge that you comply with the RFC guidelines above, as we will eventually be moving forward to comply with them as well.

I'll submit patch this week with full changes, as my fix seems not enough, so you could just assign this issue to me

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.