Try Now
More in this section

Forums / Developing with Sitefinity / Post to Sitefinity Mailing List from an external webform

Post to Sitefinity Mailing List from an external webform

2 posts, 1 answered
  1. Clint
    Clint avatar
    7 posts
    14 Apr 2014
    29 Jan 2015
    Link to this post

    I have a subscribe webform on another external website that I would like to post directly into my SiteFinity mailing list.

    Hhow do I get the List's SiteFinity URL to include this external site's subscribe webform's Post action?

  2. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    28 Oct 2016
    02 Feb 2015
    Link to this post
    Hello Clint,

    What I can suggest is that when the user subscribes using the webform in the external website to call a webform you have created in your Sitefinity project and pass the information entered by the user for example in the query string.

    Then in the Sitefinity webform you can get the desired information about the subscriber from the query string and create it using the API. Please refer to the following documentation article for more details about creating subscribers.

    After you create the subscriber, you can add it to the desired mailing list using the sample code from the following article.

    Sabrie Nedzhip
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 1 answered