我正在使用PHP框架Laravel将带有mailgun的邮件发送到某个列表。 电子邮件得到交付的所有链接被改为email.mg.mydomain / c / ....出于某种原因,在我发送的视图中一切都很好。 发送一些邮件后,有很多从邮件弹出下降和反弹,所以我的域名被禁用 - 这可能是原因吗? 我使用打开和点击跟踪。
这是我的发送代码
$client = new \Http\Adapter\Guzzle6\Client(); $mgClient = new Mailgun('key-notmyrealkey', $client); $result = $mgClient->sendMessage($domain, array( 'from' => 'Sender <news@domain.com>', 'to' => $mail , 'subject' => 'Sender', 'html' => view('some_view'), ));I'm using the php framework Laravel to send emails with mailgun to a certain list. The emails get delivered all the links got changed to email.mg.mydomain/c/.... for some reason everything is fine in the view i sent. After sending some emails there were alot of drops and bounces from mailgun so my domain got disabled - could this be the reason? I use open and click tracking.
Here is my code for sending
$client = new \Http\Adapter\Guzzle6\Client(); $mgClient = new Mailgun('key-notmyrealkey', $client); $result = $mgClient->sendMessage($domain, array( 'from' => 'Sender <news@domain.com>', 'to' => $mail , 'subject' => 'Sender', 'html' => view('some_view'), ));最满意答案
这种行为正是点击跟踪所做的 - 它会重写每个外发电子邮件的URL,以便Mailgun可以跟踪独立点击并将其与特定电子邮件相关联。 这就是为什么域中Mailgun设置的域验证和DNS部分涉及设置“电子邮件”。 子域作为指向mailgun.org的CNAME。
This behavior is exactly what click tracking does - it re-writes the URLs for each outgoing email so that Mailgun can track independent clicks and associate them with a specific email. This is why the Domain Verification & DNS part of the Mailgun setup on your domain involved setting up the "email." sub-domain as a CNAME pointing to mailgun.org.
更多推荐
发布评论