【问题标题】:My Tracking Pixels Get Blocked By EFA-Projects.org我的跟踪像素被 EFA-Projects.org 阻止
【发布时间】:2015-03-24 16:01:54
【问题描述】:

2014 年 12 月,我的电子邮件冲击波应用程序(由 CI 框架构建)在主机上顺利运行。 这是完整的 img 标签(使用 Gmail 打开):

<img src="https://ci3.googleusercontent.com/proxy/b1Ud84K8P6C6Yso9MhNwumluc4XG16f2bC1IK0SaJRjkHrNoY6zmdAAwXvC1TTdN1OEj_-GXvE94xgNfGNxy_JTQiZ-LQfa47AwaiTUw4dHYR-F-04rhakp3Ha7BqjmitIaGUQ=s0-d-e1-ft#http://www.domain.tld/email/received/ac26b0194082cb1ceb93c480a48388f1" width="1" height="1" class="CToWUd">

但是,在 2015 年 1 月 1 日之后,我的跟踪图像被 EFA-Projects.org 阻止。所以我不能再通过我的跟踪像素跟踪打开的电子邮件了。 这是完整的img标签:

<img src="http://dl.efa-project.org/static/1x1spacer.gif" width="1" height="1" alt="Web Bug from http://www.domain.tld/email/received/78d705691857b9f9f4c20ebe20e40d7d">

这是接收到的函数:

public function received($code = NULL){
    if(!empty($code)){
        $blasted_email = $this->BlastedEmail->first(array('been_read_code' => $code));
        if ($blasted_email) {
            $blasted_email->been_read = "Yes";
            $blasted_email->save();
        }
    }
    header_remove();
    //header("Content-Length: 0");
    header('Content-Type: image/gif');
    header('Cache-Control: no-cache, no-store, must-revalidate'); // HTTP 1.1.
    header('Pragma: no-cache'); // HTTP 1.0.
    header('Expires: 0'); // Proxies.

    $img = file_get_contents('http://imagizer.imageshack.us/a/img537/2260/shWlm6.gif');
    echo $img;
}

此处的imageshack用于返回图像。

我已经排查了 6 个多小时,才找到为什么我的 src 属性更改为 http://dl.efa-project.org/static/1x1spacer.gif 但在我问这个问题之前我找不到任何东西。

任何答案将不胜感激。谢谢。

【问题讨论】:

    标签: php codeigniter email tracking massmail


    【解决方案1】:

    【讨论】:

    • 欢迎来到 Stack Overflow!您应该在答案中包含这些链接中的相关信息。
    猜你喜欢
    • 2015-07-05
    • 2020-04-22
    • 2016-05-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-10-30
    相关资源
    最近更新 更多