Hi
I have developed an Event signup custom module for a customer.
The customer has now requested that when somebody signups for one of severel events that they also can subscribe to their newsletter.
So far i have figuered out how to get all Newsletter categories, so they on their own can choose wich Newsletter they will be subscribe to.
My problem now is, i have no clue of how to subscribe a person to the choose newsletter.
It should be noted, that i have created my own seperate Table for the Event signup process, but that might bite me in the ass right now.
I think i have to save a person again(If isnt already in the DB) in the database in order to subscribe to a newsletter, but im not sure wich classes to use in order to save a person, and afterwards subscribe to a newsletter.