Skip to content

Commit

Permalink
Merge pull request #232 from carieshmarie/patch-3
Browse files Browse the repository at this point in the history
Update MailjetServlet.java
  • Loading branch information
tswast committed May 9, 2016
2 parents faed5ad + a3a601d commit 4d2b914
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@
* limitations under the License.
*/

// [START mailjet_imports]
package com.example.managedvms.mailjet;

import com.mailjet.client.MailjetClient;
import com.mailjet.client.MailjetRequest;
import com.mailjet.client.MailjetResponse;
import com.mailjet.client.errors.MailjetException;
import com.mailjet.client.resource.Email;
// [END mailjet_imports]

import org.json.JSONArray;
import org.json.JSONObject;
Expand All @@ -33,6 +35,7 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

// [START app]
@SuppressWarnings("serial")
@WebServlet(name = "mailjet", value = "/send/email")
public class MailjetServlet extends HttpServlet {
Expand Down Expand Up @@ -67,3 +70,4 @@ public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOEx
}
}
}
// [END app]

0 comments on commit 4d2b914

Please sign in to comment.