title: Sending email with Mailjet doesn't work, but status code is 200
body: <p>I am trying to send email from iOS app to Mailjet server. All going fine, i'm get OK response from server but nothing happened, - zero email in my box. Here is my code. Thank you!</p>
  
  <pre><code>func sendEmail() {
  
      var recipients = [[String: Any]]()
      recipients.append(["Email": "maxim.poltoratsky@pinta.com.ua"])
  
      let body: [String: Any] = [
          "FromEmail": "ruslan@pinta.com.ua",
          "FromName": "Me",
          "Subject": "YEEES",
          "Text-part": "Greetings from IOS ;)",
          "Recipients": recipients
      ]
  
      let url = URL(string: "https://in-v3.mailjet.com")
      var request = URLRequest(url: url!)
  
      let username = "MY_SECRET_KEY"
      let password = "MY_API_KEY"
      let loginString = "\(username):\(password)"
  
      guard let loginData = loginString.data(using: String.Encoding.utf8) else {
          return
      }
      let base64LoginString = loginData.base64EncodedString()
  
      request.httpMethod = "POST"
      request.setValue("application/json", forHTTPHeaderField: "Content-Type")
      request.setValue("Basic \(base64LoginString)", forHTTPHeaderField: "Authorization")
  
      do {
          request.httpBody = try JSONSerialization.data(withJSONObject: body, options: [])
      }
      catch {
          print("error during JSON serialization")
          dump(error)
          return
      }
  
      let session = URLSession.shared
      let task = session.dataTask(with: request, completionHandler: { (data, response, error) in
          print(error)
          print(response)
          print(data)
      })
      task.resume()
  }
  </code></pre>
  
  <p>Server response: - </p>
  
  <pre><code>{ URL: https://in-v3.mailjet.com/ } { Status Code: 200, Headers {
  Date =     (
      "26 Jan 2018 19:05:25 +0200"
  );
  "Max-Age" =     (
      0
  );
  </code></pre>
  
  <p>} })</p>
  
  <p>Any suggestions? </p>