Page 1 of 1

Double Opt-In process / Custom email using wsapi

Posted: Mon Feb 10, 2020 5:59 pm
by atnetws
Hello,

I'm currently trying to use a php application to remote control openEMM and have several questions:

1) Is there any possibility to call a previously defined action that completes a DOI process?
Specifically, I can add recipients via AddSubscriber() and set them to status 5 (waiting for DOI confirmation).
But how can I trigger openEMM to send out an action based mailing that sends the confirmation link to the given email address?
The action is already defined in "Forms & Actions" and all set up. It works if I call it using a browser in an already defined form.

2) How can I send out a single status email containing a standard text and some placeholders to a single recipient?
Examples:
-"Congratulations, {firstname} {lastname}, you have earned 20 bonus points and reached the next level"
-"Hello {name}, your data has been deleted."

Cheers
Marcus

Re: Double Opt-In process / Custom email using wsapi

Posted: Fri Feb 21, 2020 1:31 pm
by atnetws
Does anyone have an idea?

Re: Double Opt-In process / Custom email using wsapi

Posted: Mon Feb 24, 2020 12:01 pm
by rodig03
I'll try this later, but I sugest you use "SendServiceMailing" wit the action ID and Customer ID. This would be my first try.