Featured Downloads

Success Story Icon Success Stories | Parliament - Use Case Parliment engages the public thourgh the use of digital communications

Email Results

'.$_POST['comments'].'

'. $_POST['org'] .', here are your results for '. $_POST['calc'] .'


Total Typical Annual Savings: '. $_POST['tas'] .'
Annual Savings: '. $_POST['as'] .'

Assumptions:
'; switch($_POST['population']){ case '0 - 25,000': $message .= 'Population/Potential Audience Size: 0 - 25,000
'; break; case '25,001 - 60,000': $message .= 'Population/Potential Audience Size: 25,001 - 60,000
'; break; case '60,001 - 300,000': $message .= 'Population/Potential Audience Size: 60,001 - 300,000
'; break; case '300,001 - 1,000,000': $message .= 'Population/Potential Audience Size: 300,001 - 1,000,000
'; break; case '1,000,001 - 4,500,000': $message .= 'Population/Potential Audience Size: 1,000,001 - 4,500,000
'; break; case '4,500,001 - 6,000,000': $message .= 'Population/Potential Audience Size: 4,500,001 - 6,000,000
'; break; case '6,000,001 - 7,000,000': $message .= 'Population/Potential Audience Size: 6,000,001 - 7,000,000
'; break; } switch($_POST['calculator']){ case 'printingPostage': $message .= 'Number of Publications Created per Year: '.$_POST['publications'].'
'; $message .= 'Recipients per Publication: '.$_POST['recipients'].'
'; $message .= 'Cost per Piece (Printing + Mailing): '.$_POST['newsletter_cost'].'
'; break; case 'leverageDigital': $message .= 'Total Phone Call Interactions per Month: '.$_POST['phone_calls'].'
'; $message .= 'Total In Person Interactions per Month: '.$_POST['in_person'].'
'; break; case 'itSavings': $message .= 'Number of Servers: '.$_POST['servers'].'
'; $message .= 'Number of IT Employees: '.$_POST['employees'].'
'; $message .= 'Cost per Employee ( Salary, Benefits, etc.): '.$_POST['overhead'].'
'; break; case 'adminSavings': $message .= 'Number of Staff Managing Lists (FTE\'s): '.$_POST['staff'].'
'; $message .= 'Annual Labor and Overhead per Employee: '.$_POST['labor'].'
'; break; } $message .= '
'; $subject = 'Results of calculations from your recent visit to GovDelivery site.'; $address = $_POST['email']; if (strtoupper(substr(PHP_OS,0,3)=='WIN')) {$eol="\r\n";} elseif (strtoupper(substr(PHP_OS,0,3)=='MAC')) {$eol="\r";} else {$eol="\n";} $headers .= 'From: GovDelivery '.$eol; // these two to set reply address $headers .= 'Reply-To: GovDelivery '.$eol; $headers .= 'Return-Path: GovDelivery '.$eol; // These two to help avoid spam-filters $headers .= "Message-ID:<".time()." info@govdelivery.com>".$eol; $headers .= "X-Mailer: PHP v".phpversion().$eol; $headers .= "Content-type: text/html".$eol; $headers .= "Bcc: greg@creativearc.com".$eol; if(mail($address,$subject,$message,$headers)){ echo '

Results Sent.

'; } else { echo '

Error Sending Results.

'; } } else { ?>

, here are your results for


Total Typical Annual Savings: $
Annual Savings: $

Assumptions:
Population/Potential Audience Size: 0 - 25,000
'; break; case '41425': echo 'Population/Potential Audience Size: 25,001 - 60,000
'; break; case '197625': echo 'Population/Potential Audience Size: 60,001 - 300,000
'; break; case '270145': echo 'Population/Potential Audience Size: 300,001 - 1,000,000
'; break; case '587974': echo 'Population/Potential Audience Size: 1,000,001 - 4,500,000
'; break; case '719089': echo 'Population/Potential Audience Size: 4,500,001 - 6,000,000
'; break; case '2145273': echo 'Population/Potential Audience Size: 6,000,001 - 7,000,000
'; break; } switch($_POST['calculator']){ case 'printingPostage': echo ''; echo 'Number of Publications Created per Year: '.$_POST['publications'].'
'; echo 'Recipients per Publication: '.$_POST['recipients'].'
'; echo 'Cost per Piece (Printing + Mailing): '.$_POST['newsletter_cost'].'
'; break; case 'leverageDigital': echo ''; echo 'Total Phone Call Interactions per Month: '.$_POST['phone_calls'].'
'; echo 'Total In Person Interactions per Month: '.$_POST['in_person'].'
'; break; case 'itSavings': echo ''; echo 'Number of Servers: '.$_POST['servers'].'
'; echo 'Number of IT Employees: '.$_POST['employees'].'
'; echo 'Cost per Employee ( Salary, Benefits, etc.): '.$_POST['overhead'].'
'; break; case 'adminSavings': echo ''; echo 'Number of Staff Managing Lists (FTE\'s): '.$_POST['staff'].'
'; echo 'Annual Labor and Overhead per Employee: '.$_POST['labor'].'
'; break; } ?>


Comments:

Email: