我目前正在经营一家电商商店。我想在我的电子邮件中使用google操作和评论,这样我就可以从那里获得评论并提供一键操作。我是个新手,我发现这非常有用。有没有人可以帮助我如何开始呢?要求是什么?是否有任何与电子邮件相关的要求,如SPF、DKIM、DMARC等?
我将非常感谢您的支持。
发布于 2016-03-15 22:14:10
我最近也有类似的问题,因为我们想提供集成在Google Now和jotted down the process中的货件跟踪信息,我必须通过。
由于您希望提供post评论的功能,因此您的流程将略有不同(如这里所述:Review Action Email Markup - Google Developers),并且需要一个后端来处理HTTP POST请求。
从我的博客中摘录了我启动和运行跟踪操作的旅程:
我们使用Mandrill及其模板特性。模板最终在底部显示了这个元数据,其余的标记原封不动:
<body>
{{-- lots of tables for layout --}}
<div itemscope itemtype="http://schema.org/ParcelDelivery">
<div itemprop="deliveryAddress" itemscope itemtype="http://schema.org/PostalAddress">
<meta itemprop="streetAddress" content="{{ deliveryAddressStreet }}"/>
<meta itemprop="addressLocality" content="{{ deliveryAddressCity }}"/>
<meta itemprop="addressRegion" content="{{ deliveryAddressCountry }}"/>
<meta itemprop="addressCountry" content="{{ deliveryAddressCountry }}"/>
<meta itemprop="postalCode" content="{{ deliveryAddressZip }}"/>
</div>
<meta itemprop="expectedArrivalUntil" content="{{ expectedDelivery }}"/>
<div itemprop="carrier" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="{{ carrier }}"/>
</div>
{{#each products}}
<div itemprop="itemShipped" itemscope itemtype="http://schema.org/Product">
<meta itemprop="name" content="{{ description }}"/>
</div>
{{/each}}
<div itemprop="partOfOrder" itemscope itemtype="http://schema.org/Order">
<meta itemprop="orderNumber" content="{{ ordernumber }}"/>
<div itemprop="merchant" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Our Store Name"/>
</div>
<link itemprop="orderStatus" href="http://schema.org/OrderInTransit"/>
</div>
<meta itemprop="trackingNumber" content="{{ shipmentTrackingNo }}"/>
<link itemprop="trackingUrl" href="{{ shipmentTrackingLink }}"/>
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/TrackAction">
<link itemprop="target" href="{{ shipmentTrackingLink }}"/>
<link itemprop="url" href="{{ shipmentTrackingLink }}"/>
<meta itemprop="name" content="Track shipment"/>
</div>
</div>
</body>https://stackoverflow.com/questions/35627133
复制相似问题