I am having a small issue with sendmailing function in the webservice api.
After setting up a mailing by the following steps
step 1 createContentModule
step 2 saveContentModuleContent
create mailing
step 3 AddMailing (Here I am adding two texts for html and text version)
$data = array(
"mailingID" => $mailingid,
"blockName" => $htmlBlockName,
"targetID" => 0,
"content" => "This is html text content.",
"order" => 1
);
AddContentBlock($data)
$data = array(
"mailingID" => $mailingid,
"blockName" => $textBlockName,
"targetID" => 0,
"content" => 'This is text version of email.',
"order" => 2
);
AddContentBlock($data)
Step 4 addMailingBindings
Step 5 SendMailing
After Running SendMailing all the emails send out only contains text "This is html text content.".
But after step4 if I login to openemm admin area through "http://localhost:8080/" and try "send" button of mailing its always fine and correctly sends the html email from the template.
Anyone please help ? really stuck at this last step
![Sad :(](./images/smilies/icon_sad.gif)