The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Automatically Add Contacts from Web Form or Database

Occasional Advisor

Automatically Add Contacts from Web Form or Database

Is there a module that will automatically grab  form input data, ie. firstname, lastname, emailaddress from a web form and place it into a CC list?  Or from a database such as sql server?

Regular Advisor

Re: Automatically Add Contacts from Web Form or Database

Hi Michael,


We have some sample code you can use that will accomplish that goal: Which kind of server-side scripting technology does your server use (e.g., PHP, ASP.NET, etc.)? You can definitely grab the content from a SQL Server database as well. Is your form already built? If it is, I would look at using one of the libraries. If it is not, then the signup-form generator or sample forms might be a better option.



Richard Maxwell
Support Engineer, Constant Contact
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More