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:

Help getting [shownext] to increment (2003) Database Erroe (2000) Removing [showif] makes a big difference in speed (1997) carriage returns in data (1997) Not really WebCat (1997) authorizenet and netscape (2002) Thanks Grant (1997) OT (SORT OF): Forcing Webstar Cache Flush (2005) Large Database (2000) WebCatb15 Mac CGI -- [purchase] (1997) Nesting FoundItem Context (1997) Help name our technology! (1997) What really killed WebDNA? (2007) different show next (1997) [format] problem (2001) Template not found error messages (1997) RE: [WebDNA] Test (2008) when is date system date or order date? (1997) web delivery (1997) WebCat2 several catalogs? (1997)