Skip to content

theshka/EmailTrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmailTrack

GitHub License GitHub Release

EmailTrack is a simple PHP class that outputs a 'ghost' image/tracking-pixel then uses PDO & SQLite to track whether or not an email has been seen.

Download

Old Versions

Demo

Working Demo: http://tyrexi.us/EmailTrack

Usage

  • Requires PHP 5.3+ & PDO_SQLITE driver

  • Full instructions and examples are located in the examples folder.

  • The class file resides in src/blank.php

  • You may need to edit paths to the SQLite database/gif in the class settings.

Notes:

  • SQLite databases can pose a security risk, and may be downloaded with a direct link! Please take precautions to secure the file. You can so this with Apache .htaccess or by making the file hidden.

  • Only the first access to the tracking image is recorded. Subsequent access to the same image will be ignored.

Parameters

$message .= '<img src="/src/blank.php?log=true&subject='.urlencode($subject).'&email='.urlencode($to).'" alt="EmailTrack"/>';
Key Value
?log true
&subject urlencode($subject)
&email urlencode($to)

License

This project is licensed under the MIT LICENSE

Contributing

If you would like to help make this software better, please follow our guidelines found in CONTRIBUTING.md ...and a special thank-you to our contributors!

Contact

About

PHP class using a tracking-pixel and PDO/SQLite to track opened email

Resources

License

Stars

Watchers

Forks

Packages

No packages published