I am trying to send mail to users. So, i build dummy code for testing that mail is sending or not.
The code is-
{
“template”: “newsletter”,
“to”: [
{
“name”: “Xyz”,
“email”: "xyz@gmail.com"
}
],
“subject”: “A test email”,
“body_text”: “This is a test email”,
“from_name”: “Abc”,
“from_email”: "mydreamfactoryid@ex.com",
“reply_to_name”: “Abc”,
“reply_to_email”: "mydreamfactoryid@ex.com"
}
I am getting 200 in response code but in response body {
"count": 0
}
The value of count should be 1 for successful operation.
In Service tab option I am using “Local Email Service Type”.
You can see in screen shot for more details
Help !