Re: [BULK] Re: [WebDNA] How to test email validity?

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107080
interpreted = N
texte = --00032555a8aab39c9b04a90d99e8 Content-Type: text/plain; charset=UTF-8 Hi all, I use the following to track email open rates and other stats. Obviously you'll need to embed the code for your setup. - Tom 1. Embed the following image tag in your HTML email template: you need to ensure the user_id and email campaign_id are passed to the template. 2. Code for image.tmpl [!] [/!] [text]exportFilePath=../images/emails/[/text] [text]exportFile=blank.gif[/text] [hideif [url][rID][/url]=[url][raw][rID][/raw][/url]][replace db=../../data/db_massmailer/massmailerLogOpen.db&append=T&autonumber=rID]rCREATEDATE=[math]{[DATE]}[/math]&rCREATETIME=[time]&sCONSTITUENTID=[url][rID][/url]&sMAILCAMPAIGNID=[url][cID][/url]&sUSERAGENT=[url][getmimeheader name=User-Agent][/url]&sREFERER=[url][getmimeheader name=Referer][/url]&sIPADDRESS=[url][ipaddress][/url][/replace][/hideif] [text]line_ending=%0D%0A[/text] [returnRaw binarybody=[exportFilePath][exportFile]]HTTP/1.0 200 OK[unurl][line_ending][/unurl][!] [/!]Status: 200[unurl][line_ending][/unurl][!] [/!]Content-Type: image/gif[unurl][line_ending][/unurl][!] [/!][/returnraw] If you're on Linux you'll need to use a .htaccess file to set the Content-Type within the directory that your image.tmpl template is served from: AddType image/gif tmpl --00032555a8aab39c9b04a90d99e8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all,

I use the following to track email open rates an= d other stats. =C2=A0Obviously you'll need to embed the code for your s= etup.

- Tom




1. Embed the following image tag in your HTML email template:

<img src=3D"http://www.yourdomain.com/path-to-template/image.tmpl?rID=3D[recipientID]= &cID=3D[campaignID]" />

you need to ensure the user_id and email campaign_id ar= e passed to the template.



2. Code for image.tmpl

[!]<!-- HAS_W= EBDNA_TAGS -->
[/!]

[text]exportFilePath=3D../images/emails/= [/text]
[text]exportFile=3Dblank.gif[/text]

<= div>[hideif [url][rID][/url]=3D[url][raw][rID][/raw][/url]][replace db=3D..= /../data/db_massmailer/massmailerLogOpen.db&append=3DT&autonumber= =3DrID]rCREATEDATE=3D[math]{[DATE]}[/math]&rCREATETIME=3D[time]&sCO= NSTITUENTID=3D[url][rID][/url]&sMAILCAMPAIGNID=3D[url][cID][/url]&s= USERAGENT=3D[url][getmimeheader name=3DUser-Agent][/url]&sREFERER=3D[ur= l][getmimeheader name=3DReferer][/url]&sIPADDRESS=3D[url][ipaddress][/u= rl][/replace][/hideif]

[text]line_ending=3D%0D%0A[/text]

<= div>[returnRaw binarybody=3D[exportFilePath][exportFile]]HTTP/1.0 200 OK[un= url][line_ending][/unurl][!]

[/!]Status: 200[unurl= ][line_ending][/unurl][!]

[/!]Content-Type: image/gif[unurl][line_ending][/unurl]= [!]

[/!][/returnraw]


If you're on Linux you'll need to use a .htaccess = file to set the Content-Type within the directory that your image.tmpl temp= late is served from:

AddType image/gif tmpl



--00032555a8aab39c9b04a90d99e8-- Associated Messages, from the most recent to the oldest:

    
--00032555a8aab39c9b04a90d99e8 Content-Type: text/plain; charset=UTF-8 Hi all, I use the following to track email open rates and other stats. Obviously you'll need to embed the code for your setup. - Tom 1. Embed the following image tag in your HTML email template: you need to ensure the user_id and email campaign_id are passed to the template. 2. Code for image.tmpl [!] [/!] [text]exportFilePath=../images/emails/[/text] [text]exportFile=blank.gif[/text] [hideif [url][rID][/url]=[url][raw][rID][/raw][/url]][replace db=../../data/db_massmailer/massmailerLogOpen.db&append=T&autonumber=rID]rCREATEDATE=[math]{[date]}[/math]&rCREATETIME=[time]&sCONSTITUENTID=[url][rID][/url]&sMAILCAMPAIGNID=[url][cID][/url]&sUSERAGENT=[url][getmimeheader name=User-Agent][/url]&sREFERER=[url][getmimeheader name=Referer][/url]&sIPADDRESS=[url][ipaddress][/url][/replace][/hideif] [text]line_ending=%0D%0A[/text] [returnRaw binarybody=[exportFilePath][exportFile]]HTTP/1.0 200 OK[unurl][line_ending][/unurl][!] [/!]Status: 200[unurl][line_ending][/unurl][!] [/!]Content-Type: image/gif[unurl][line_ending][/unurl][!] [/!][/returnraw] If you're on Linux you'll need to use a .htaccess file to set the Content-Type within the directory that your image.tmpl template is served from: AddType image/gif tmpl --00032555a8aab39c9b04a90d99e8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all,

I use the following to track email open rates an= d other stats. =C2=A0Obviously you'll need to embed the code for your s= etup.

- Tom




1. Embed the following image tag in your HTML email template:

<img src=3D"http://www.yourdomain.com/path-to-template/image.tmpl?rID=3D[recipientID]= &cID=3D[campaignID]" />

you need to ensure the user_id and email campaign_id ar= e passed to the template.



2. Code for image.tmpl

[!]<!-- HAS_W= EBDNA_TAGS -->
[/!]

[text]exportFilePath=3D../images/emails/= [/text]
[text]exportFile=3Dblank.gif[/text]

<= div>[hideif [url][rID][/url]=3D[url][raw][rID][/raw][/url]][replace db=3D..= /../data/db_massmailer/massmailerLogOpen.db&append=3DT&autonumber= =3DrID]rCREATEDATE=3D[math]{[date]}[/math]&rCREATETIME=3D[time]&sCO= NSTITUENTID=3D[url][rID][/url]&sMAILCAMPAIGNID=3D[url][cID][/url]&s= USERAGENT=3D[url][getmimeheader name=3DUser-Agent][/url]&sREFERER=3D[ur= l][getmimeheader name=3DReferer][/url]&sIPADDRESS=3D[url][ipaddress][/u= rl][/replace][/hideif]

[text]line_ending=3D%0D%0A[/text]

<= div>[returnRaw binarybody=3D[exportFilePath][exportFile]]HTTP/1.0 200 OK[un= url][line_ending][/unurl][!]

[/!]Status: 200[unurl= ][line_ending][/unurl][!]

[/!]Content-Type: image/gif[unurl][line_ending][/unurl]= [!]

[/!][/returnraw]


If you're on Linux you'll need to use a .htaccess = file to set the Content-Type within the directory that your image.tmpl temp= late is served from:

AddType image/gif tmpl



--00032555a8aab39c9b04a90d99e8-- Tom Duke

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Busted at the Border (1998) Banner DNA (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) OPEN MARKET PATENTS SOUND ECOMMERCE ALARM (1998) newcart (1997) WebCat2: Formulas.db question (1997) File commands and Wild Cards ?? (1998) FREE Web Server Monitor FREE (1997) [WebDNA] Use of MySQL with WebDNA (2010) Re:listfiles-looking for slick solution (1997) Limitations on fields? Server is crashing (1997) Separate SSL Server (1997) [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (2012) Bug or syntax error on my part? (1997) sending formatted e-mail? (1998) Pulling Captions from JPGs (2003) Summary layout (1997) Textarea Breaks (2000) OT: How to find out who owns an IP address (2001)