dcb1101
  •  dcb1101
  • 55% (Neutral)
  • YAF Camper Topic Starter
2015-01-15T01:04:41Z
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
2015-01-16T12:41:40Z
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?!

UserPostedImage
dcb1101
  •  dcb1101
  • 55% (Neutral)
  • YAF Camper Topic Starter
2015-01-16T12:46:04Z
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
2015-01-19T09:36:44Z
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

UserPostedImage

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

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved