Double Opt-In process / Custom email using wsapi

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

atnetws
Posts: 15
Joined: Tue Jan 21, 2020 10:27 am

Double Opt-In process / Custom email using wsapi

Post by atnetws » Mon Feb 10, 2020 5:59 pm

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

atnetws
Posts: 15
Joined: Tue Jan 21, 2020 10:27 am

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

Post by atnetws » Fri Feb 21, 2020 1:31 pm

Does anyone have an idea?

rodig03
Posts: 15
Joined: Thu Sep 18, 2014 1:27 pm

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

Post by rodig03 » Mon Feb 24, 2020 12:01 pm

I'll try this later, but I sugest you use "SendServiceMailing" wit the action ID and Customer ID. This would be my first try.

Post Reply