Sample code for newsletter subscriptions via
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Basket Example Code

Sample code for newsletter subscriptions via See it in action at


  • Use "" as the email to have the request return successfully but not actually record a subscription, and "" to always return failure.
  • You may also send "country" and "lang" parameters to indicate the user's country and language respectively (see the forms on for examples)
  • You may also send a "fmt" parameter with the value "H" or "T" for "HTML" and "Text", which will indicate the user's preferred email format. HTML is the default.