AC has out of the box web application sub that can be used as a base for
this. In 'send confirmation' JS you can find code for sending
confirmation email and adding recipient to subscription: // Send
confirmationnms.delivery.QueueNotification("confirmation",
)and adding to subscription://
Subscribe recipientdelete ctx.recipient.visitorvar
recipient=ctx.recipientrecipient.@_key="@id"delete
recipient.@blackList_initdelete
recipient.@xtkschemanms.subscription.Subscribe(ctx.vars.serviceName,
r...