YAFLogo

dcb1101
  • dcb1101
  • 55% (Neutral)
  • YAF Camper Topic Starter
8 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: 3.0.3
8 years ago
Originally Posted by: dcb1101 

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



It depends where that mailing list is being stored?!
dcb1101
  • dcb1101
  • 55% (Neutral)
  • YAF Camper Topic Starter
8 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: 3.0.3
8 years ago
Originally Posted by: dcb1101 

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?



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
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button