YAFLogo

dcb1101
  • dcb1101
  • 55% (Neutral)
  • YAF Camper Topic Starter
9 years ago
Hello everyone,

I want to automatically add users to my constant contact mailing list when they register on my site (via oAuth or regular account) How could I do this?

Thank you


Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
9 years ago

Hello everyone,

I want to automatically add users to my constant contact mailing list when they register on my site (via oAuth or regular account) How could I do this?

Thank you

Originally Posted by: dcb1101 

It depends where that mailing list is being stored?!

dcb1101
  • dcb1101
  • 55% (Neutral)
  • YAF Camper Topic Starter
9 years ago
Ideally I would like to add them directly to the Constant Contact mailing list via their API.

If need be, I can create a temp DB to store new users names & emails then have a different code to add then to the mailing list, from the DB on a schedule.

Basically, when a new user signed up, how can I grab their name and email so that I can use it?


tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
9 years ago

Ideally I would like to add them directly to the Constant Contact mailing list via their API.

If need be, I can create a temp DB to store new users names & emails then have a different code to add then to the mailing list, from the DB on a schedule.

Basically, when a new user signed up, how can I grab their name and email so that I can use it?

Originally Posted by: dcb1101 

Well you have multiple options. One way would be to modify one of the functions called during the registration for example the RoleMembershipHelper.CreateForumUser which can be found in YAF.Core/UserRoles/RoleMembershipHelper.cs