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.

PHP API - An Error Occurred. The campaign could not be added. POST error: 400

Highlighted
Occasional Participant

PHP API - An Error Occurred. The campaign could not be added. POST error: 400

Dear CTCT,

 

I am trying to add a new campaign which is just a slightly modifed existing campaign. I am receiving the slightly cryptic message, "An Error Occurred. The campaign could not be added."  More info follows my signature.

 

I hope you can help. Thanks in advance. BTW i found a couple of other postings re "An Error Occurred. The campaign could not be added", but the final answers were done by email and not included in the online discussion.

 

Love and peace,

 

Joe

.

Here is the POST command info from the doServerCall method of the CC_Utility class in the cc_class.php file.

 

$type: POST


$request URI: https://api.constantcontact.com/ws/customers/jdorocak/campaigns


$error: The requested URL returned error: 400


$parameter: <?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://www.w3.org/2005/Atom"><link href="/ws/customers/jdorocak/campaigns" rel="edit"/><id>http://api.constantcontact.com/ws/customers/jdorocak/campaigns</id><title type="text">xhtml custom email jdor</title><updated>2011-11-05T14:00:42+01:00</updated><author><name>Constant Contact</name></author><content type="application/vnd.ctct+xml"><Campaign xmlns="http://ws.constantcontact.com/ns/1.0/" id="http://api.constantcontact.com/ws/customers/jdorocak/campaigns/1100546096289"><Name>xhtml custom email jdor</Name><Status>Draft</Status><Date>2011-11-05T14:00:42 01:00</Date><Subject>Epiphany Advent Reflection</Subject><FromName>Theocom</FromName><ViewAsWebpage>YES</ViewAsWebpage><ViewAsWebpageLinkText>Click here</ViewAsWebpageLinkText><ViewAsWebpageText>Having trouble viewing this email?</ViewAsWebpageText><PermissionReminder>NO</PermissionReminder><PermissionReminderText></PermissionReminderText><GreetingSalutation></GreetingSalutation><GreetingName>NONE</GreetingName><GreetingString></GreetingString><OrganizationName>Theocom</OrganizationName><OrganizationAddress1>540 My Street</OrganizationAddress1><OrganizationAddress2></OrganizationAddress2><OrganizationAddress3></OrganizationAddress3><OrganizationCity>San Carlos</OrganizationCity><OrganizationState>CA</OrganizationState><OrganizationInternationalState></OrganizationInternationalState><OrganizationCountry>us</OrganizationCountry><OrganizationPostalCode>94070</OrganizationPostalCode><IncludeForwardEmail>YES</IncludeForwardEmail><ForwardEmailLinkText>Forward email</ForwardEmailLinkText><IncludeSubscribeLink>YES</IncludeSubscribeLink><SubscribeLinkText>Subscribe me!</SubscribeLinkText><EmailContentFormat>XHTML</EmailContentFormat><EmailContent>&lt;html lang=\"en\" xml:lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:cctd=\"http://www.constantcontact.com/cctd\"&gt;&#13;
&#13;
&#13;
&lt;body&gt;&lt;CopyRight&gt;Copyright (c) 1996-2009 Constant Contact. All rights reserved.  Except as permitted under a separate&#13;
written agreement with Constant Contact, neither the Constant Contact software, nor any content that appears on any Constant Contact site,&#13;
including but not limited to, web pages, newsletters, or templates may be reproduced, republished, repurposed, or distributed without the&#13;
prior written permission of Constant Contact.  For inquiries regarding reproduction or distribution of any Constant Contact material, please&#13;
contact legal@constantcontact.com.&lt;/CopyRight&gt;&#13;
&lt;OpenTracking/&gt;&#13;
&lt;!--  Do NOT delete previous line if you want to get statistics on the number of opened emails --&gt;&#13;
&#13;
&#13;
&lt;CustomBlock name=\"letter.intro\" title=\"Personalization\"&gt;&#13;
    &lt;Greeting/&gt;&#13;
&lt;/CustomBlock&gt;&#13;
&#13;
&lt;center&gt;&lt;img src=\"https://origin.ih.constantcontact.com/fs021/1108194616223/img/2.jpg\" alt=\"\" /&gt; &lt;/center&gt;&#13;
&lt;div class=\"entire\"&gt;&#13;
&lt;h2 class=\"emhdr\" align=\"center\"&gt;Epiphany San Carlos&lt;br/&gt;&#13;
Advent Reflection Series&lt;/h2&gt;&#13;
&lt;h1 class=\"emtheme\" align=\"center\"&gt;Rejoice! Rejoice!&lt;br/&gt;&#13;
Emanuel shall come to thee, O Israel.&lt;/h1&gt;&#13;
&lt;h2&gt;&#13;
&lt;span class=\"rdate\"&gt;Advent Reflection for 2011-11-05&lt;/span&gt;&lt;br/&gt;&#13;
&lt;span class=\"rauthor\"&gt;Reflection Author: Joe D&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&#13;
&lt;span class=\"rtitle\"&gt;Now is the Time&lt;/span&gt;&#13;
&lt;/h2&gt;&#13;
&lt;p class=\"reflection\"&gt;&#13;
Now [2011-11-05] is the time for all good men to come to the aid of their party.&lt;br/&gt;&#13;
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;br/&gt;&#13;
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. &lt;br/&gt;&#13;
Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&#13;
&lt;/p&gt;&#13;
&lt;/div&gt;&#13;
&#13;
&lt;/body&gt;&#13;
&lt;/html&gt;</EmailContent><EmailTextContent>&lt;Text&gt;Copyright (c) 1996-2009 Constant Contact. All rights reserved.  Except as permitted under a separate&#13;
written agreement with Constant Contact, neither the Constant Contact software, nor any content that appears on any Constant Contact site,&#13;
including but not limited to, web pages, newsletters, or templates may be reproduced, republished, repurposed, or distributed without the&#13;
prior written permission of Constant Contact.  For inquiries regarding reproduction or distribution of any Constant Contact material, please&#13;
contact legal@constantcontact.com.&lt;/Text&gt;</EmailTextContent><StyleSheet>.entire{&#13;
    background-color: #CCCCFF;&#13;
    padding: 15px;&#13;
}&#13;
.emhdr{&#13;
    color: #595454;&#13;
    margin-left: auto;&#13;
    margin-right: auto;&#13;
}&#13;
.emtheme{&#13;
    color: #C68E17;&#13;
    margin-left: auto;&#13;
    margin-right: auto;&#13;
}&#13;
.rdate{&#13;
    color: #595454;&#13;
    margin-left: auto;&#13;
    margin-right: auto;&#13;
}&#13;
.rauthor{&#13;
    color: #595454;&#13;
}&#13;
.rtitle{&#13;
    color: #595454;&#13;
}&#13;
.reflection{&#13;
    color: #595454;&#13;
    font-family: Verdana, Geneva, sans-serif;&#13;
    font-weight: bold;&#13;
}</StyleSheet><ContactLists><ContactList id="http://api.constantcontact.com/ws/customers/jdorocak/lists/1"><link xmlns="http://www.w3.org/2005/Atom" href="/ws/customers/jdorocak/lists/1" rel="self"/></ContactList></ContactLists><FromEmail><Email id="http://api.constantcontact.com/ws/customers/jdorocak/settings/emailaddresses/1"><link xmlns="http://www.w3.org/2005/Atom" href="/ws/customers/jdorocak/settings/emailaddresses/1" rel="self"/></Email><EmailAddress>j_dorocak@comcast.net</EmailAddress></FromEmail><ReplyToEmail><Email id="http://api.constantcontact.com/ws/customers/jdorocak/settings/emailaddresses/1"><link xmlns="http://www.w3.org/2005/Atom" href="/ws/customers/jdorocak/settings/emailaddresses/1" rel="self"/></Email><EmailAddress>j_dorocak@comcast.net</EmailAddress></ReplyToEmail></Campaign></content><source><id>http://api.constantcontact.com/ws/customers/jdorocak/campaigns</id><title type="text">Campaigns for customer: jdorocak</title><link href="campaigns"/><link href="campaigns" rel="self"/><author><name>jdorocak</name></author><updated>2011-11-05T14:00:42+01:00</updated></source></entry>

5 REPLIES 5
Highlighted
Employee

Re: PHP API - An Error Occurred. The campaign could not be added. POST error: 400

Hey Joe,

 

When i take out your escaped quotes i get a 201 successful.  Below is my XHTML.  I would display $paremeter to the page to make sure the escaping isnt passing through.  

 

<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://www.w3.org/2005/Atom">
    <link href="/ws/customers/jdorocak/campaigns" rel="edit"/>
    <id>http://api.constantcontact.com/ws/customers/jdorocak/campaigns</id>
    <title type="text">xhtml custom email jdor</title>
    <updated>2011-11-05T14:00:42+01:00</updated>
    <author>
        <name>Constant Contact</name>
    </author>
    <content type="application/vnd.ctct+xml">
        <Campaign xmlns="http://ws.constantcontact.com/ns/1.0/"
            id="http://api.constantcontact.com/ws/customers/jdorocak/campaigns/1100546096289">
            <Name>xhtml custom email jdor</Name>
            <Status>Draft</Status>
            <Date>2011-11-05T14:00:42 01:00</Date>
            <Subject>Epiphany Advent Reflection</Subject>
            <FromName>Theocom</FromName>
            <ViewAsWebpage>YES</ViewAsWebpage>
            <ViewAsWebpageLinkText>Click here</ViewAsWebpageLinkText>
            <ViewAsWebpageText>Having trouble viewing this email?</ViewAsWebpageText>
            <PermissionReminder>NO</PermissionReminder>
            <PermissionReminderText/>
            <GreetingSalutation/>
            <GreetingName>NONE</GreetingName>
            <GreetingString/>
            <OrganizationName>Theocom</OrganizationName>
            <OrganizationAddress1>540 My Street</OrganizationAddress1>
            <OrganizationAddress2/>
            <OrganizationAddress3/>
            <OrganizationCity>San Carlos</OrganizationCity>
            <OrganizationState>CA</OrganizationState>
            <OrganizationInternationalState/>
            <OrganizationCountry>us</OrganizationCountry>
            <OrganizationPostalCode>94070</OrganizationPostalCode>
            <IncludeForwardEmail>YES</IncludeForwardEmail>
            <ForwardEmailLinkText>Forward email</ForwardEmailLinkText>
            <IncludeSubscribeLink>YES</IncludeSubscribeLink>
            <SubscribeLinkText>Subscribe me!</SubscribeLinkText>
            <EmailContentFormat>XHTML</EmailContentFormat>
            <EmailContent>&lt;html lang="en" xml:lang="en"
                xmlns="http://www.w3.org/1999/xhtml\"
                xmlns:cctd="http://www.constantcontact.com/cctd"&gt;&#13; &#13; &#13;
                &lt;body&gt;&lt;CopyRight&gt;Copyright (c) 1996-2009 Constant Contact. All rights
                reserved. Except as permitted under a separate&#13; written agreement with Constant
                Contact, neither the Constant Contact software, nor any content that appears on any
                Constant Contact site,&#13; including but not limited to, web pages, newsletters, or
                templates may be reproduced, republished, repurposed, or distributed without
                the&#13; prior written permission of Constant Contact. For inquiries regarding
                reproduction or distribution of any Constant Contact material, please&#13; contact
                legal@constantcontact.com.&lt;/CopyRight&gt;&#13; &lt;OpenTracking/&gt;&#13; &lt;!--
                Do NOT delete previous line if you want to get statistics on the number of opened
                emails --&gt;&#13; &#13; &#13; &lt;CustomBlock name="letter.intro"
                title="Personalization"&gt;&#13; &lt;Greeting/&gt;&#13; &lt;/CustomBlock&gt;&#13;
                &#13; &lt;center&gt;&lt;img
                src="https://origin.ih.constantcontact.com/fs021/1108194616223/img/2.jpg" alt=""
                /&gt; &lt;/center&gt;&#13; &lt;div class="entire"&gt;&#13; &lt;h2 class="emhdr"
                align="center"&gt;Epiphany San Carlos&lt;br/&gt;&#13; Advent Reflection
                Series&lt;/h2&gt;&#13; &lt;h1 class="emtheme" align="center"&gt;Rejoice!
                Rejoice!&lt;br/&gt;&#13; Emanuel shall come to thee, O Israel.&lt;/h1&gt;&#13;
                &lt;h2&gt;&#13; &lt;span class="rdate"&gt;Advent Reflection for
                2011-11-05&lt;/span&gt;&lt;br/&gt;&#13; &lt;span class="rauthor"&gt;Reflection
                Author: Joe D&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&#13; &lt;span
                class="rtitle"&gt;Now is the Time&lt;/span&gt;&#13; &lt;/h2&gt;&#13; &lt;p
                class="reflection"&gt;&#13; Now [2011-11-05] is the time for all good men to come
                to the aid of their party.&lt;br/&gt;&#13; Lorem ipsum dolor sit amet, consectetur
                adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
                Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
                ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit
                esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
                proident, sunt in culpa qui officia deserunt mollit anim id est
                laborum.&lt;br/&gt;&#13; Sed ut perspiciatis unde omnis iste natus error sit
                voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab
                illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo
                enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia
                consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
                &lt;br/&gt;&#13; Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet,
                consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut
                labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis
                nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea
                commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit
                esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas
                nulla pariatur?&#13; &lt;/p&gt;&#13; &lt;/div&gt;&#13; &#13; &lt;/body&gt;&#13;
                &lt;/html&gt;</EmailContent>
            <EmailTextContent>&lt;Text&gt;Copyright (c) 1996-2009 Constant Contact. All rights
                reserved. Except as permitted under a separate&#13; written agreement with Constant
                Contact, neither the Constant Contact software, nor any content that appears on any
                Constant Contact site,&#13; including but not limited to, web pages, newsletters, or
                templates may be reproduced, republished, repurposed, or distributed without
                the&#13; prior written permission of Constant Contact. For inquiries regarding
                reproduction or distribution of any Constant Contact material, please&#13; contact
                legal@constantcontact.com.&lt;/Text&gt;</EmailTextContent>
            <StyleSheet>.entire{&#13; background-color: #CCCCFF;&#13; padding: 15px;&#13; }&#13;
                .emhdr{&#13; color: #595454;&#13; margin-left: auto;&#13; margin-right: auto;&#13;
                }&#13; .emtheme{&#13; color: #C68E17;&#13; margin-left: auto;&#13; margin-right:
                auto;&#13; }&#13; .rdate{&#13; color: #595454;&#13; margin-left: auto;&#13;
                margin-right: auto;&#13; }&#13; .rauthor{&#13; color: #595454;&#13; }&#13;
                .rtitle{&#13; color: #595454;&#13; }&#13; .reflection{&#13; color: #595454;&#13;
                font-family: Verdana, Geneva, sans-serif;&#13; font-weight: bold;&#13;
                }</StyleSheet>
            <ContactLists>
                <ContactList id="http://api.constantcontact.com/ws/customers/jdorocak/lists/1">
                    <link xmlns="http://www.w3.org/2005/Atom" href="/ws/customers/jdorocak/lists/1"
                        rel="self"/>
                </ContactList>
            </ContactLists>
            <FromEmail>
                <Email
                    id="http://api.constantcontact.com/ws/customers/jdorocak/settings/emailaddresses/1">
                    <link xmlns="http://www.w3.org/2005/Atom"
                        href="/ws/customers/jdorocak/settings/emailaddresses/1" rel="self"/>
                </Email>
                <EmailAddress>j_dorocak@comcast.net</EmailAddress>
            </FromEmail>
            <ReplyToEmail>
                <Email
                    id="http://api.constantcontact.com/ws/customers/jdorocak/settings/emailaddresses/1">
                    <link xmlns="http://www.w3.org/2005/Atom"
                        href="/ws/customers/jdorocak/settings/emailaddresses/1" rel="self"/>
                </Email>
                <EmailAddress>j_dorocak@comcast.net</EmailAddress>
            </ReplyToEmail>
        </Campaign>
    </content>
    <source>
        <id>http://api.constantcontact.com/ws/customers/jdorocak/campaigns</id>
        <title type="text">Campaigns for customer: jdorocak</title>
        <link href="campaigns"/>
        <link href="campaigns" rel="self"/>
        <author>
            <name>jdorocak</name>
        </author>
        <updated>2011-11-05T14:00:42+01:00</updated>
    </source>
</entry>

Please let me know this helps. 

Ryan Davis
Quality Engineer
Highlighted
Occasional Participant

Re: PHP API - An Error Occurred. The campaign could not be added. POST error: 400

Dear Ryan,

 

Thanks for the reply. Sorry i didn't get back on this sooner.

 

You said "When i take out your escaped quotes i get a 201 successful. Below is my XHTML. I would display $paremeter to the page to make sure the escaping isnt passing through.  " 

 

Sorry, Ryan, I should have been clearer in my original post. I have NOT coded almost any PHP. I am using CTCTs PHP_Sample_Campaign which i unzipped and copied to my server.

 

I made 2 modifications to 1 of  the original files:

 

In cc_class.php

  1.   i added my credentials [then after this didn't work]
  2.   i added a logging capability, which is how i got the $parameter value. 

Here is the diff between the  modifications  and the  original   I have changed the diffs to hide my login and other sensitive data.

 

Comparing files 
PHP_SAMPLE_CAMPAIGN\cc_class.php 

and 

PHP_SAMPLE_CAMPAIGN_0\CC_CLASS.PHP

***** PHP_SAMPLE_CAMPAIGN\cc_class.php 
<?php

***** PHP_SAMPLE_CAMPAIGN_0\CC_CLASS.PHP
n++<?php

*****



***** PHP_SAMPLE_CAMPAIGN\cc_class.php 
        // FROM HERE YOU MAY MODIFY YOUR CREDENTIALS
        var $login = 'notJoesLogin'; //Username for your account
        var $password = 'notJoesPW'; //Password for your account
        var $apikey = 'notJoesAPIKey'; // API Key for your account.

***** PHP_SAMPLE_CAMPAIGN_0\CC_CLASS.PHP
        // FROM HERE YOU MAY MODIFY YOUR CREDENTIALS
        var $login = 'USERNAME'; //Username for your account
        var $password = 'PASSWORD'; //Password for your account
        var $apikey = 'API-KEY'; // API Key for your account.

*****



***** PHP_SAMPLE_CAMPAIGN\cc_class.php
        // DEBUGGING
        var $curl_debug = true; // Set this to true to see the response code returned by cURL

***** PHP_SAMPLE_CAMPAIGN_0\CC_CLASS.PHP
        // DEBUGGING
        var $curl_debug = false; // Set this to true to see the response code returned by cURL

*****



***** PHP_SAMPLE_CAMPAIGN\cc_class.php
           curl_close($ch);

           /* Log what went out. */
           $joe_log_path = '/pathDeleted/PHP_Sample_Campaign/joe.log';
           $fp = fopen ($joe_log_path, 'a');  // append to the log
           $joe_ts = date('r');
           fwrite($fp, "\n\n\n".$joe_ts."\n" );
           fwrite($fp, '  type: '.$type."\n" );
           fwrite($fp, '  request: '.$request."\n" );
           fwrite($fp, '  error: '.$error."\n" );
           fwrite($fp, '  parameter: '.$parameter."\n\n" );
           fwrite($fp, '  return_emessage: '.$emessage."\n\n");
           fclose($fp);
           /* Log end. */


           /*
           $j_date = "these are all letters";
           fwrite($fp, "Hello from Joe."+$j_date+"\n");
            */

***** PHP_SAMPLE_CAMPAIGN_0\CC_CLASS.PHP
           curl_close($ch);

*****

 

So this is CTCT's PHP code that needs to be modified. I am just filling in the form that comes up. You can see what I mean by going to this URL. 

 

http://theo.jdor.webfactional.com/PHP_Sample_Campaign/ 

 

Then Click on Add a New Campaign. 

 

Thanks for the help in advance.

 

Love and peace,

 

Joe 

 

Highlighted
Employee

Re: PHP API - An Error Occurred. The campaign could not be added. POST error: 400

Hey Joe,

 

I tried your link and I was able to successfuly add a campaign.  Are you still experiencing a 400?

Ryan Davis
Quality Engineer
Highlighted
Occasional Participant

Re: PHP API - An Error Occurred. The campaign could not be added. POST error: 400

Dear Ryan,

 

I got a problem again. I just tried the following.

 

XHTML:

<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:cctd="http://www.constantcontact.com/cctd">


<body><CopyRight>Copyright (c) 1996-2009 Constant Contact. All rights reserved.  Except as permitted under a separate
written agreement with Constant Contact, neither the Constant Contact software, nor any content that appears on any Constant Contact site,
including but not limited to, web pages, newsletters, or templates may be reproduced, republished, repurposed, or distributed without the
prior written permission of Constant Contact.  For inquiries regarding reproduction or distribution of any Constant Contact material, please
contact legal@constantcontact.com.</CopyRight>
<OpenTracking/>
<!--  Do NOT delete previous line if you want to get statistics on the number of opened emails -->


<CustomBlock name="letter.intro" title="Personalization">
    <Greeting/>
</CustomBlock>
<div class="mydiv">
<p>This is the paragraph.</p>
</div>

</body>
</html>

 

 

STYLE SHEET:

.mydiv{color:"green"} 



 

I am using Opera to make my changes. It said: "The requested URL returned error: 400The requested URL returned error: 404". The message in red said:  "An Error Occurred. The campaign could not be added.".

 

Just for reference, here's the html source from Opera of the page after it returns the error.

 

PAGE SOURCE:

The requested URL returned error: 400The requested URL returned error: 404<script type="text/javascript" src="js/campaigns.js"></script>
<link rel="stylesheet" href="css/style.css"/>
 
<table style="border: 0px;" width="100%">
	<tr>
		<td align="left"><img src="images/constantcontact.jpg" border="0" /></td>
		<td align="center">	       
            <fieldset style="width: 700px;">
                <legend> Managing Email Campaigns </legend>
                <a href="edit_campaign.php?operation=new">Add a New Campaign</a> | <a href="list_campaigns.php?list=search">Search Campaigns</a> | <a href="list_campaigns.php?list=all">List All Campaigns</a> | <a href="Documentation/index.html" target="_blank">Documentation</a>
            </fieldset> 

		</td>
	</tr>
</table>

 


<script type="text/javascript" language="javascript">
	function checkLists(obj) {
		var style = obj.checked;
		var cont = document.getElementById('chk_container');
		inputs = cont.getElementsByTagName('input');
		for (i=0;i<inputs.length;i++) {
			if (inputs[i]!=obj) {
				inputs[i].disabled = style;
			}
		}
	}
    
 function display_div(show){
   document.getElementById(show).style.display = "";
 }
 
 function hide_div(hide){
   document.getElementById(hide).style.display = "none";
 }    
</script>
 
<div align="center" style="width: 900px;">
<h2>Add a New Campaign</h2>
<div class="error">An Error Occurred. The campaign could not be added.</div> 
<form action="/PHP_Sample_Campaign/edit_campaign.php?operation=new" method="post" id="campaign" name="campaign">
<input type="hidden" name="cmp_id" value="urn:uuid:E8553C09F4xcvxCCC53F481214230867087" />
<input type="hidden" name="id" value="urn:uuid:E8553C09F4xcvxCCC53F481214230867087" />
<input type="hidden" name="operation" value="new" />  
<input type="hidden" name="cmp_status" value="" /> 
<input type="hidden" name="cmp_date" value="" /> 
<input type="hidden" name="cmp_type" value="" />

        
            
<div style="float: right; text-align: left; overflow: auto; height: 990px; width:300px;">
	<fieldset id="chk_container">
		<legend> Send campaign to following lists: </legend>
	<input type="checkbox"  checked  style="width: 20px;" name="lists[]" value="http://api.constantcontact.com/ws/customers/jdorocak/lists/1" id="chk_0" /> <label for="chk_0">General Interest</label><br/>		
	</fieldset>
</div>	

 <div>  
 <h3>Campaign Information</h3>    
    <table width="580" border="0" cellpadding="2" cellspacing="0">
      <tr>
            <td align="left" valign="top">Campaign Name*:</td>
            <td align="right" colspan="3"><input type="text" name="cmp_name" style="width: 440px" maxLength="100" value="vanilla xhtml" /></td> 
      </tr>
      <tr>                                   
           <td align="left" valign="top">Campaign Type:</td> 
            <td align="left" colspan="3">&nbsp;&nbsp;&nbsp;&nbsp;<label for="ctype" style="font-size: 13px">Custom HTML/XHTML code Campaign</label></td> 
      </tr>
 </table>
	<h3>*Message Header</h3>	
	<table width="580" border="0" cellpadding="2" cellspacing="0">   

		<tr>
			<td align="left" valign="top">Subject*:</td>
			<td align="right" colspan="3"><input type="text" name="cmp_subject" style="width: 440px" maxLength="100" value="vanilla xhtml" /></td>
	  </tr>
      <tr>
            <td align="left" valign="top">From Name*:</td>
            <td align="right" colspan="3"><input type="text" name="cmp_from_name" style="width: 440px" maxLength="100" value="Joe" /></td>
      </tr>
          <tr>
            <td align="left" valign="top">From Email Address*:</td>
            <td align="right" colspan="3">
            <select name="cmp_from_email" style="width: 440px">
         <option value="j_dorocak@comcast.net|http://api.constantcontact.com/ws/customers/jdorocak/settings/emailaddresses/1" selected="selected" >j_dorocak@comcast.net</option>                </select>
           </td>
      </tr>
        <tr>
            <td align="left" valign="top">Reply Email Address*:</td>
            <td align="right" colspan="3" >
            <select name="cmp_reply_email" style="width: 440px">
         <option value="j_dorocak@comcast.net|http://api.constantcontact.com/ws/customers/jdorocak/settings/emailaddresses/1" selected="selected">j_dorocak@comcast.net</option>                </select>
           </td>
      </tr>    
         <tr>
            <td align="left">Permission Reminder:</td>
            <td align="left" colspan="3">               
            <input type="radio" name="cmp_perm_reminder" maxLength="100" checked="checked" value="NO" onClick="hide_div('reminder')" style="width: 10px"/>  <label for="off" style="font-size: 13px">Off</label>
                &nbsp;&nbsp; 
             <input type="radio" name="cmp_perm_reminder" maxLength="100"  value="YES" onClick="display_div('reminder')" style="width: 10px"/> <label for="onn" style="font-size: 13px">On</label>
            </td>
      </tr>
      
            <tr>
            <td align="right" colspan="4"> <div id="reminder" style="display:none">          
              <textarea rows="5" cols="53" name="cmp_txt_reminder">You're receiving this email because of your relationship with [COMPANY NAME]. Please <ConfirmOptin><a style="color:#0000ff;">confirm</a></ConfirmOptin> your continued interest in receiving email from us.</textarea>     </div>
            </td>
      </tr>
    
              <tr>
            <td align="left">Webpage Version:</td>
            <td align="left" colspan="3">          
            <input type="checkbox" name="cmp_as_webpage"  checked="checked" value="YES" style="width: 10px" /> Include a link to view a webpage version of this email </td> 
      </tr>
        <tr>
            <td align="left">Text:</td>
            <td align="left"><input type="text" style="width: 240px" name="cmp_as_webtxt" maxLength="100" value="Having trouble viewing this email?" /></td>
            <td align="left">Link Text:</td>
            <td align="left"><input type="text" style="width: 100px" name="cmp_as_weblink" maxLength="100" value="Click here"/></td>
        </tr>	
	</table>
    
	<h3>Personalization</h3>
	<table width="580" border="0" cellpadding="2" cellspacing="0">
		<tr>
			<td align="left">Greeting:</td>
	<td align="left"><input style="width: 150px" type="text" name="cmp_grt_sal" maxLength="100" value=""/></td>
			<td align="left">
            <select name="cmp_grt_name" style="width: 150px">
   <option  value="FirstName">First name</option> 
  <option  value="LastName">Last name</option>
  <option  value="FirstAndLastName">First & Last</option>
  <option selected="selected" value="NONE">None</option>
</select>
            </td>  
            <td align="left">OR</td>  
			<td align="left"><input style="width: 150px" type="text" name="cmp_grt_str" maxLength="100" value=""/></td>
	    </tr>
	</table>
    
	<h3>*Message Footer </h3>
	<table width="580" border="0" cellpadding="2" cellspacing="0">
         <tr>
            <td align="left" valign="top">Organization Name*:</td>
            <td align="right" colspan="3"><input type="text" name="cmp_org_name" style="width: 440px" maxLength="100" value="Theocom" /></td>
      </tr>
        <tr>
            <td align="left" valign="top">Address 1*:</td>
            <td align="right" colspan="3"><input type="text" name="cmp_org_addr1" style="width: 440px" maxLength="100" value="540 My Streett" /></td>
      </tr>
      <tr>
            <td align="left" valign="top">Address 2:</td>
            <td align="right" colspan="3" ><input type="text" name="cmp_org_addr2" style="width: 440px" maxLength="100" value="" /></td>
      </tr>
      <tr>
            <td align="left" valign="top">Address 3:</td>
            <td align="right" colspan="3" ><input type="text" name="cmp_org_addr3" style="width: 440px" maxLength="100" value="" /></td>
      </tr>
      <tr>
            <td align="left" valign="top">City*:</td>
            <td align="right" colspan="3" ><input type="text" name="cmp_org_city" style="width: 440px" maxLength="100" value="San Carlos" /></td>
      </tr>
      <tr>
            <td align="left" valign="top">State*:</td>
            <td align="right">
            <select name="org_state_us" style="width: 185px">
            <option value=""> -- NON US/CA -- </option>  
      <option value="AL" >[US] Alabama</option><option value="AK" >[US] Alaska</option><option value="AB" >[CA] Alberta</option><option value="AZ" >[US] Arizona</option><option value="AR" >[US] Arkansas</option><option value="AA" >[US] Armed Forces Americas</option><option value="AE" >[EU] Armed Forces Europe</option><option value="AP" >[PA] Armed Forces Pacific</option><option value="BC" >[CA] British Columbia</option><option value="CA"  selected >[US] California</option><option value="CO" >[US] Colorado</option><option value="CT" >[US] Connecticut</option><option value="DE" >[US] Delaware</option><option value="DC" >[US] District of Columbia</option><option value="FL" >[US] Florida</option><option value="GA" >[US] Georgia</option><option value="HI" >[US] Hawaii</option><option value="ID" >[US] Idaho</option><option value="IL" >[US] Illinois</option><option value="IN" >[US] Indiana</option><option value="IA" >[US] Iowa</option><option value="KS" >[US] Kansas</option><option value="KY" >[US] Kentucky</option><option value="LA" >[US] Louisiana</option><option value="ME" >[US] Maine</option><option value="MB" >[CA] Manitoba</option><option value="MD" >[US] Maryland</option><option value="MA" >[US] Massachusetts</option><option value="MI" >[US] Michigan</option><option value="MN" >[US] Minnesota</option><option value="MS" >[US] Mississippi</option><option value="MO" >[US] Missouri</option><option value="MT" >[US] Montana</option><option value="NE" >[US] Nebraska</option><option value="NV" >[US] Nevada</option><option value="NB" >[CA] New Brunswick</option><option value="NH" >[US] New Hampshire</option><option value="NJ" >[US] New Jersey</option><option value="NM" >[US] New Mexico</option><option value="NY" >[US] New York</option><option value="NL" >[CA] Newfoundland and Labrador</option><option value="NC" >[US] North Carolina</option><option value="ND" >[US] North Dakota</option><option value="NT" >[CA] Northwest Territories</option><option value="NS" >[CA] Nova Scotia</option><option value="NU" >[CA] Nunavut</option><option value="OH" >[US] Ohio</option><option value="OK" >[US] Oklahoma</option><option value="ON" >[CA] Ontario</option><option value="OR" >[US] Oregon</option><option value="PA" >[US] Pennsylvania</option><option value="PE" >[US] Prince Edward Island</option><option value="QC" >[CA] Quebec</option><option value="RI" >[US] Rhode Island</option><option value="SK" >[CA] Saskatchewan</option><option value="SC" >[US] South Carolina</option><option value="SD" >[US] South Dakota</option><option value="TN" >[US] Tennessee</option><option value="TX" >[US] Texas</option><option value="UT" >[US] Utah</option><option value="VT" >[US] Vermont</option><option value="VA" >[US] Virginia</option><option value="WA" >[US] Washington</option><option value="WV" >[US] West Virginia</option><option value="WI" >[US] Wisconsin</option><option value="WY" >[US] Wyoming</option><option value="YT" >[CA] Yukon Territory</option>           </select>
           </td>
    <td align="center" valign="top"><span>OR</span></td>
    <td align="right"><input type="text" style="width: 185px" name="org_state" maxLength="100" value="" /></td>
      </tr>
      <tr>
            <td align="left" valign="top">Zip/Postal Code*:</td>
            <td align="right"><input type="text" class="required" style="width: 185px" name="org_zip" maxLength="100" value="94070" /></td>
            <td align="center" valign="top">Country*:</td>
            <td align="right" >
                        <select name="org_country" style="width: 185px">
                        <option value=""></option>
            <option value="af" >Afghanistan</option><option value="ax" >Aland Islands</option><option value="al" >Albania</option><option value="dz" >Algeria</option><option value="as" >American Samoa</option><option value="ad" >Andorra</option><option value="ao" >Angola</option><option value="ai" >Anguilla</option><option value="aq" >Antarctica</option><option value="ag" >Antigua and Barbuda</option><option value="ar" >Argentina</option><option value="am" >Armenia</option><option value="aw" >Aruba</option><option value="au" >Australia</option><option value="at" >Austria</option><option value="az" >Azerbaijan</option><option value="bs" >Bahamas</option><option value="bh" >Bahrain</option><option value="bd" >Bangladesh</option><option value="bb" >Barbados</option><option value="by" >Belarus</option><option value="be" >Belgium</option><option value="bz" >Belize</option><option value="bj" >Benin</option><option value="bm" >Bermuda</option><option value="bt" >Bhutan</option><option value="bo" >Bolivia</option><option value="ba" >Bosnia and Herzegovina</option><option value="bw" >Botswana</option><option value="bv" >Bouvet Island</option><option value="br" >Brazil</option><option value="io" >British Indian Ocean Territory</option><option value="bn" >Brunei Darussalam</option><option value="bg" >Bulgaria</option><option value="bf" >Burkina Faso</option><option value="bi" >Burundi</option><option value="kh" >Cambodia</option><option value="cm" >Cameroon</option><option value="ca" >Canada</option><option value="cv" >Cape Verde</option><option value="ky" >Cayman Islands</option><option value="cf" >Central African Republic</option><option value="td" >Chad</option><option value="cl" >Chile</option><option value="cn" >China</option><option value="cx" >Christmas Island</option><option value="cc" >Cocos (Keeling) Islands</option><option value="co" >Colombia</option><option value="km" >Comoros</option><option value="cg" >Congo</option><option value="cd" >Congo, Democratic Republic of</option><option value="ck" >Cook Islands</option><option value="cr" >Costa Rica</option><option value="ci" >Cote D'Ivoire</option><option value="hr" >Croatia</option><option value="cy" >Cyprus</option><option value="cz" >Czech Republic</option><option value="dk" >Denmark</option><option value="dj" >Djibouti</option><option value="dm" >Dominica</option><option value="do" >Dominican Republic</option><option value="tmp" >East Timor</option><option value="ec" >Ecuador</option><option value="eg" >Egypt</option><option value="sv" >El Salvador</option><option value="eng" >England</option><option value="gq" >Equatorial Guinea</option><option value="er" >Eritrea</option><option value="ee" >Estonia</option><option value="et" >Ethiopia</option><option value="fo" >Faroe Islands</option><option value="fk" >Faukland Islands</option><option value="fj" >Fiji</option><option value="fi" >Finland</option><option value="fr" >France</option><option value="gf" >French Guyana</option><option value="pf" >French Polynesia</option><option value="tf" >French Southern Territories</option><option value="ga" >Gabon</option><option value="gm" >Gambia</option><option value="ge" >Georgia</option><option value="de" >Germany</option><option value="gh" >Ghana</option><option value="gi" >Gibraltar</option><option value="gr" >Greece</option><option value="gl" >Greenland</option><option value="gd" >Grenada</option><option value="gp" >Guadeloupe</option><option value="gu" >Guam</option><option value="gt" >Guatemala</option><option value="gg" >Guernsey</option><option value="gn" >Guinea</option><option value="gw" >Guinea-Bissau</option><option value="gy" >Guyana</option><option value="ht" >Haiti</option><option value="hm" >Heard and McDonald Islands</option><option value="hn" >Honduras</option><option value="hk" >Hong Kong</option><option value="hu" >Hungary</option><option value="is" >Iceland</option><option value="in" >India</option><option value="id" >Indonesia</option><option value="iq" >Iraq</option><option value="ie" >Ireland</option><option value="im" >Isle of Man</option><option value="il" >Israel</option><option value="it" >Italy</option><option value="jm" >Jamaica</option><option value="jp" >Japan</option><option value="je" >Jersey</option><option value="jo" >Jordan</option><option value="kz" >Kazakhstan</option><option value="ke" >Kenya</option><option value="ki" >Kiribati</option><option value="kw" >Kuwait</option><option value="kg" >Kyrgyzstan</option><option value="la" >Laos</option><option value="lv" >Latvia</option><option value="lb" >Lebanon</option><option value="ls" >Lesotho</option><option value="lr" >Liberia</option><option value="ly" >Libya</option><option value="li" >Liechtenstein</option><option value="lt" >Lithuania</option><option value="lu" >Luxembourg</option><option value="mo" >Macao</option><option value="mk" >Macedonia</option><option value="mg" >Madagascar</option><option value="mw" >Malawi</option><option value="my" >Malaysia</option><option value="mv" >Maldives</option><option value="ml" >Mali</option><option value="mt" >Malta</option><option value="mh" >Marshall Islands</option><option value="mq" >Martinique</option><option value="mr" >Mauritania</option><option value="mu" >Mauritius</option><option value="yt" >Mayotte</option><option value="mx" >Mexico</option><option value="fm" >Micronesia</option><option value="md" >Moldova</option><option value="mc" >Monaco</option><option value="mn" >Mongolia</option><option value="me" >Montenegro</option><option value="ms" >Montserrat</option><option value="ma" >Morocco</option><option value="mz" >Mozambique</option><option value="mm" >Myanmar</option><option value="na" >Namibia</option><option value="nr" >Nauru</option><option value="np" >Nepal</option><option value="nl" >Netherlands</option><option value="an" >Netherlands Antilles</option><option value="unavailable" >Wales</option><option value="nc" >New Caledonia</option><option value="nz" >New Zealand</option><option value="ni" >Nicaragua</option><option value="ne" >Niger</option><option value="ng" >Nigeria</option><option value="nu" >Niue</option><option value="nf" >Norfolk Island</option><option value="nir" >Northern Ireland</option><option value="mp" >Northern Mariana Islands</option><option value="no" >Norway</option><option value="om" >Oman</option><option value="pk" >Pakistan</option><option value="pw" >Palau</option><option value="ps" >Palestinian Territory, Occupied</option><option value="pa" >Panama</option><option value="pg" >Papua New Guinea</option><option value="py" >Paraguay</option><option value="pe" >Peru</option><option value="ph" >Philippines</option><option value="pn" >Pitcairn</option><option value="pl" >Poland</option><option value="pt" >Portugal</option><option value="pr" >Puerto Rico</option><option value="qa" >Qatar</option><option value="re" >Reunion</option><option value="ro" >Romania</option><option value="ru" >Russian Federation</option><option value="rw" >Rwanda</option><option value="bl" >Saint Barthelemy</option><option value="sh" >Saint Helena</option><option value="kn" >Saint Kitts and Nevis</option><option value="lc" >Saint Lucia</option><option value="mf" >Saint Martin</option><option value="pm" >Saint Pierre and Miquelon</option><option value="vc" >Saint Vincent & the Grenadines</option><option value="ws" >Samoa</option><option value="sm" >San Marino</option><option value="st" >Sao Tome and Principe</option><option value="sa" >Saudi Arabia</option><option value="sct" >Scotland</option><option value="sn" >Senegal</option><option value="rs" >Serbia</option><option value="sc" >Seychelles</option><option value="sl" >Sierra Leone</option><option value="sg" >Singapore</option><option value="sk" >Slovakia</option><option value="si" >Slovenia</option><option value="sb" >Solomon Islands</option><option value="so" >Somalia</option><option value="za" >South Africa</option><option value="gs" >South Georgia & S. Sandwich Is.</option><option value="kr" >South Korea</option><option value="es" >Spain</option><option value="lk" >Sri Lanka</option><option value="sr" >Suriname</option><option value="sj" >Svalbard and Jan Mayen</option><option value="sz" >Swaziland</option><option value="se" >Sweden</option><option value="ch" >Switzerland</option><option value="tw" >Taiwan</option><option value="tj" >Tajikistan</option><option value="tz" >Tanzania</option><option value="th" >Thailand</option><option value="tg" >Togo</option><option value="tk" >Tokelau</option><option value="to" >Tonga</option><option value="tt" >Trinidad and Tobago</option><option value="tn" >Tunisia</option><option value="tr" >Turkey</option><option value="tm" >Turkmenistan</option><option value="tc" >Turks and Caicos Islands</option><option value="tv" >Tuvalu</option><option value="ug" >Uganda</option><option value="ua" >Ukraine</option><option value="ae" >United Arab Emirates</option><option value="gb" >United Kingdom</option><option value="us"  selected >United States</option><option value="um" >United States Minor Outlying Is.</option><option value="uy" >Uruguay</option><option value="uz" >Uzbekistan</option><option value="vu" >Vanuatu</option><option value="va" >Vatican City State</option><option value="ve" >Venezuela</option><option value="vn" >Viet Nam</option><option value="vg" >Virgin Islands, British</option><option value="vi" >Virgin Islands, U.S.</option><option value="wf" >Wallis and Futuna</option><option value="eh" >Western Sahara</option><option value="ye" >Yemen</option><option value="zm" >Zambia</option><option value="zw" >Zimbabwe</option>                </select>
           </td>        
      </tr>
      <tr>
            <td align="left">Forward Email to a Friend:</td>
            <td align="left" colspan="3">           
            <input type="checkbox" name="cmp_forward" maxLength="100"  value="YES" style="width: 20px"/> <input type="text" name="cmp_fwd_email" style="width: 200px" maxLength="100" value="Forward email" /> (Added to your email) 
              <br/> 
             <input type="checkbox" name="cmp_subscribe" maxLength="100"  value="YES" style="width: 20px"/> <input type="text" name="cmp_sub_link" style="width: 200px" maxLength="100" value="Subscribe me!" />  (Added to the forwarded emails)
            </td>
      </tr>
                         
    </table>
    
    <h3> EMAIL BODY </h3>
    <table width="580" border="0" cellpadding="2" cellspacing="0">
     <tr>
        <td align="center" colspan="2"><label for="htm" style="font-size: 12px"> HTML/XHTML VERSION </label> </td>
     </tr>
            <tr>
            <td align="left">E-Mail Type:</td>
            <td align="left">
                <input type="radio" class="checkbox" onClick="hide_div('css');hide_div('ss');" name="cmp_mail_type" id="mt1" value="HTML"  /><label for="mt1" style="font-size: 11px">HTML</label>
    &nbsp;or&nbsp;
                <input type="radio" class="checkbox" onClick="display_div('css');display_div('ss');" name="cmp_mail_type" id="mt2" value="XHTML" checked="checked"/><label for="mt2" style="font-size: 11px">XHTML</label>
            </td>            
        </tr>
        <tr>
            <td align="center" colspan="2">
            <textarea rows="12" cols="65" name="cmp_html_body"><html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:cctd="http://www.constantcontact.com/cctd">


<body><CopyRight>Copyright (c) 1996-2009 Constant Contact. All rights reserved.  Except as permitted under a separate
written agreement with Constant Contact, neither the Constant Contact software, nor any content that appears on any Constant Contact site,
including but not limited to, web pages, newsletters, or templates may be reproduced, republished, repurposed, or distributed without the
prior written permission of Constant Contact.  For inquiries regarding reproduction or distribution of any Constant Contact material, please
contact legal@constantcontact.com.</CopyRight>
<OpenTracking/>
<!--  Do NOT delete previous line if you want to get statistics on the number of opened emails -->


<CustomBlock name="letter.intro" title="Personalization">
    <Greeting/>
</CustomBlock>
<div class="mydiv">
<p>This is the paragraph.</p>
</div>

</body>
</html></textarea>
            </td>
        </tr>
        <tr>
        <td align="center" colspan="2"><div id="ss" style=""><label for="ss" style="font-size: 12px"> STYLE SHEET </label></div></td>
        </tr>
        <tr>
            <td align="center" colspan="2"> <div id="css" style="">
            <textarea rows="8" cols="65" name="cmp_style_sheet">.mydiv{color:"green"}</textarea>     </div>
            </td>
        </tr>        
        <tr>
        <td align="center" colspan="2"><label for="tv" style="font-size: 12px"> TEXT VERSION </label></td>
        </tr>
        <tr>
            <td align="center" colspan="2">
            <textarea rows="8" cols="65" name="cmp_text_body">Copyright (c) 1996-2009 Constant Contact. All rights reserved.  Except as permitted under a separate
written agreement with Constant Contact, neither the Constant Contact software, nor any content that appears on any Constant Contact site,
including but not limited to, web pages, newsletters, or templates may be reproduced, republished, repurposed, or distributed without the
prior written permission of Constant Contact.  For inquiries regarding reproduction or distribution of any Constant Contact material, please
contact legal@constantcontact.com.

This is the paragraph.</textarea>
            </td>
        </tr>
      <tr>
        <tr>
            <td align="center" colspan="2">                 
                <input type="submit" name="submit" value="Add New Campaign" />
            </td>
        </tr>
    </table>
    
 </div>  
</form>
</div>

 

 

 

Don't worry, Ryan. I am thinking about going another route, so no problem.

 

Thanks for all the help, Ryan.

 

Love and peace,

 

Joe 

 

Here's

Highlighted
Employee

Re: PHP API - An Error Occurred. The campaign could not be added. POST error: 400

Hey Joe,

 

I am in the middle of redoing our sample forms as there some other issues that are showing up with them.  I should have a beta product for you with in the next few business days.  I apologize for the wait.

Ryan Davis
Quality Engineer
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
Featured