[-
use HTML::Entities qw(decode_entities);
use diagnostics;
use strict;
use warnings;
use Crypt::DES_EDE3;
use Crypt::CBC;
use MIME::Base64;
my $iv = 'init vec';
my $key = '890123331166655888551234';
my $cipher = undef;
my ($cipheremail, $cipherpfizerid, $cipherbrandid, $ciphersourcecode) = undef;
my $encryptedURL=undef;
my $encryptedDURL=undef;
#my $plaintext = undef;
eval {
$cipher = Crypt::CBC->new(-literal_key => 1,
-prepend_iv => 0,
-add_header => 0,
-key => $key,
-iv => $iv,
-header => 'none',
-cipher => 'DES_EDE3');
};
if(!$@ && defined($cipher)) {
$cipheremail = encode_base64($cipher->encrypt (decode_entities($p->{email_addr})),'');
$cipherpfizerid = encode_base64($cipher->encrypt (decode_entities($p->{HCP_ID})),'');
$cipherbrandid = encode_base64($cipher->encrypt (decode_entities($p->{BRAND_ID})),'');
$ciphersourcecode = encode_base64($cipher->encrypt (decode_entities($p->{SOURCE_CODE})),'');
}
if($@) {
$cipheremail = $@;
$cipherpfizerid = 'ERROR';
$cipherbrandid = 'ERROR';
$ciphersourcecode = 'ERROR';
}
{
VAR('EMAILADDR') = $cipheremail;
VAR('HCPID') = $cipherpfizerid;
VAR('BRANDID') = $cipherbrandid;
VAR('SOURCECODE') = $ciphersourcecode;
}
#PROD - see comment below
$link::encryptURL = CREATE_LINK_TEMPLATE('http'.'s://www.pfizerprofessional.com/unsubscribe.aspx?Email_address={^param1}&HCP_ID={^param2}&Brand_ID={^param3}&SourceCode={^param4}', VAR('PFIZER_LINK'), 'PFIZER_LINK');
#TEST - see comment below
#$link::encryptURL = CREATE_LINK_TEMPLATE('http'.'://pfizerprofessional-stg.pfizer.com/unsubscribe.aspx?Email_address={param1}&HCP_ID={param2}&Brand_ID={param3}&SourceCode={param4}', VAR('PFIZER_LINK'), 'PFIZER_LINK');
#below needs to be replaced with URL for unsubscribe in creatives
#[+LINK_TEMPLATE($link::encryptURL,'param1' => VAR('EMAILADDR'),'param2' => VAR('HCPID'),'param3' => VAR('BRANDID'),'param4' => VAR('SOURCECODE'))+]
-]
PROTONIX
Encourage ongoing adherence with treatment support from Pfizer |
View in Browser |
 |
 |
|
|
We want your patients to stay on track just as much as you do. That’s why every prescription for brand-name PROTONIX comes with resources designed to help your patients continue to take the medication you prescribe appropriately. |
Resources that are available with a PROTONIX prescription: |
|
|
|
Some of these resources become available to your patients just by activating a savings card. |
|
*Eligibility required. Terms and conditions apply. Full terms and conditions can be found at PROTONIX.com/terms. Card will be accepted only at participating pharmacies. Card is not health insurance. No membership fees. Maximum savings per year is $840. The Card is not valid for prescriptions that are eligible to be reimbursed, in whole or in part, by Medicaid, Medicare or other federal or state healthcare programs. The Card is not valid for prescriptions that are eligible to be reimbursed in whole by private insurance plans or other health or pharmacy benefit programs. For more information, call 1-855-807-7901, or write: Pfizer, Attn: PROTONIX, PO Box 4938, Warren, NJ, 07059-6600. |
If you no longer wish to receive professional marketing email communications from Pfizer, VAR('EMAILADDR'),'param2' => VAR('HCPID'),'param3' => VAR('BRANDID'),'param4' => VAR('SOURCECODE'))+] style="color:#0056a4;">unsubscribe here. |
Please do not reply as this is an unattended email box. If you wish to contact Pfizer, click here. |
Pfizer, Attn: PROTONIX
P.O. Box 29309
Mission, KS 66201-9619 |
The information provided in this email is intended only for health care professionals in the United States. The products discussed herein may have different product labeling in different countries. |
Under license from Takeda, D78467 Konstanz, Germany |
PP-PRX-USA-0108-01 |
© 2016 Pfizer Inc. |
All rights reserved. |
October 2016 |
 |
|
|
|
|
|
|
|
|