Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Manually subscribing member to mailinglist


Go to End


1364 Views

Avatar
Fuzz10

Community Member, 791 Posts

11 March 2009 at 9:54am

Hi,

Bit of a silly question, but ......

I've been trying to figure out an elegant way to manually subscribe a member to a newsletter (in this case, after a sale has been made) , but can't really come up with one.

It seems like it is a matter of adding a member to the right membergroup, but if I go that route , I'm afraid my code might break in a next upgrade of the newsletter module ....

Is there an API I can use to subscribe people ?