Talk:KB / Account Control Panel / Mail :: Announce Lists

Broken Link
The link to KB / Web Programming / CGI, PHP & Databases / Announcement Mailing List at the bottom of the article doesn't work -- it gets cut off at the & sign. I would fix it, but since I don't know how I'm just pointing it out here so hopefully someone with more wiki skills than I can fix it.

&mdash; misterhaan 12:48, 1 April 2007 (PDT)
 * The good news is that it would seem that someone at DH decided to add short URLs to the wiki, which are great! The bad news is that he didn't add in The Fix™.  I'll see if I can find someone who'll take care of that. --Emufarmers 13:02, 1 April 2007 (PDT)

Method to add user without using form POST?
I have a Contact page using form mail, and want to include a checkbox that enable visitors, to also subscribe to our Announce List when posting their form mail.

Is there a facility for adding users to the Announce List without using form POST?

Right now our form & submit action processes the form mail, so thinking I would need to make some PHP call re-using the email address to subscribe to the Announce LIst somehow.

Any ideas? (might make for a nice KB entry?)

Short answer: Yes- but it is still POST behind the scenes. Enter Panel API!

You can use PHP and an API key to add users to the announce list with some embedded code. All you need is the user's email and name, as well as curl. Automatically Subscribe users to Announce using Dreamhost API

Eddiewebb 18:20, 19 August 2009 (UTC)

The DreaHost API can also be used with Perl and other languages besides PHP. For examples see API Apps --Atropos 21:37, 19 August 2009 (UTC)