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:

Shopping problems with 2.1b3 acgi (1997) Before I Can Begin . . . (1998) [OT] HTML EMAIL program wanted (1999) Cart sweeper (2000) Strange Crash (1998) Parameter Problem (1998) Emailer setup (1997) Problems with emailer cutting off carriage returns (Crossplatform issue?) (1999) WebCatalog Features (1997) The beginning (1997) question: Eudora 3.1.1 (1997) Websited Development (1999) Multiple Passwords (1997) Authenticate Questions (2003) HELP!!! (1998) Exclamation point (1997) [OT] Kerio Mailserver (2003) WCS Newbie question (1997) Country & Ship-to address & other fields ? (1997) Keyword search (2004)