Newsletter Builder plugin - modifying for frontend users

Hello,

I am trying to build similar functionality to the Newsletter Builder as a front-end feature of my website so users can send out emails themselves. I don't want them to have access to the cmsb backend.

I have set up the sending function and this works fine. However I would like the "Message" written by the user to be embedded into a "Template" that I define in the cmsb backend. In the same way as Newsletter Builder works.

I'm not quite sure how to do this and was hoping someone could point me in the right direction.

Any help would be really appreciated.

Regards,

Greg

By Dave - January 22, 2018

Hi Greg, 

In the CMS go to: CMS Setup > Email Templates, then (in the bottom left) "Advanced Commands..." > Developers: Show sendMessage() PHP

This will generate PHP code for sending each of the email templates through the CMS.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com