Jump to content
  • 0
pconkie

Beethoven broke a frogos.fdp api?

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...