Emails via API not going. NO Errors so its sending but not recieving
My sending code is :
String sendTo = "chail@gmail.com";
String sendSubject = "Feedback";
String sendMsg = "Your message";
String senderEmailId = "jingahr@gmail.com";
HashMap<String, String> otherMetaHeaders = new HashMap<String, String>();
otherMetaHeaders.put("template", "DAILY_REPORT");//Which you are created from AppHQ.
emailService.setOtherMetaHeaders(otherMetaHeaders);
emailService.sendMail(sendTo,sendSubject, sendMsg, senderEmailId, EmailMIME.PLAIN_TEXT_MIME_TYPE, new App42CallBack() {
public void onSuccess(Object response)
{
Email emailObject = (Email)response;
System.out.println("Email From is : " +emailObject.getFrom());
System.out.println("email To is : " +emailObject.getTo());
System.out.println("Subject is : " + emailObject.getSubject());
System.out.println("Message Body is : " + emailObject.getBody());
}
public void onException(Exception ex)
{
System.out.println("Exception Message"+ex.getMessage());
}
});
my app name is ROUTES
and in APP42 I have a template also ..
Can you please tell me what I am missing ?
Thanks ..