Jump to content
  • 0

Beethoven broke a frogos.fdp api?


pconkie

Question

Since the update we have had some parents tell us they didn't get an email about their child's detention.  Too many parents have said this to be the usual junk email issue.  However, there is no apparent error when we scrutinise the frogcode widget.

I've therefore done some more testing with the following:

FrogOS.fdp({
  url: 'email/sendmessage',
  path: '/api/fdp/1/',
  type: 'POST',
  data: { 
    subject: 'Call Out',
    message: 'Test Message',
    to: "pconkie@backwellschool.net"
  }
}).done(function(thisResponse) {
  this.hideLoader()
}.bind(this)).fail(function(e) {
  var error = JSON.parse(e.responseText);
  var error_msg = error.response.message + "<BR/>Failed to send email"
  this.hideLoader();
  this.modal("There has been an error", error_msg, "modal-4FDC8814200489BB58471FBB81DE9B03CD461BECB489AFEC", null, false);
}.bind(this));

I get a success confirmation in the console

Capture.PNG.b7383b63bb45534a076b393d3231679e.PNG

However the email never arrives.  Are there logs that can shed more light on this?

This is an urgent issue for us.

 

Thanks

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...