2013-08-13 2 views
5

Meine ViewAction-Schaltfläche funktioniert einwandfrei, wenn Sie das Apps-Skript zum Senden der E-Mail an mich verwenden. (Same gmail Konto als angemeldet)Aktionsschaltfläche wird beim Senden an ein anderes Google Mail-Konto nicht angezeigt

function testSchemas() { 
    var htmlBody = HtmlService.createHtmlOutputFromFile('mail_template').getContent(); 

    MailApp.sendEmail({ 
    to: "[email protected]", 
    subject: 'Test Actions in the Inbox - ' + new Date(), 
    htmlBody: htmlBody  
    }); 
} 

Wenn Sie einen anderen Google Mail-Konto als Empfänger einstellen, wird die Aktionstaste nicht angezeigt. Ich habe mehrere Google Mail-Konten ausprobiert.

Das Testen von Schemas ist derzeit anscheinend nur möglich, wenn an einen selbst und nicht an andere Google Mail-Konten gesendet wird. Ist das wahr?

Meine Aktionstaste:

<html> 
    <head> 
    <script type="application/ld+json"> 
{ 
    "@context": "http://schema.org", 
    "@type": "EmailMessage", 
    "action": { 
    "@type": "ViewAction", 
    "name": "Test Action", 
    "url": "https://mydomain.com/test" 
    }, 
    "description": "Test action" 
} 
</script> 
</head> 
<body> 
    <p> 
     This a test for a Go-To action in Gmail. 
    </p> 
</body> 
</html> 

Arbeits Headers:

Delivered-To: [email protected] 
Received: by 10.112.167.104 with SMTP id zn8csp127915lbb; 
     Tue, 13 Aug 2013 01:44:42 -0700 (PDT) 
Return-Path: <[email protected]m> 
Received-SPF: pass (google.com: domain of [email protected]m designates 10.224.2.202 as permitted sender) client-ip=10.224.2.202 
Authentication-Results: mr.google.com; 
     spf=pass (google.com: domain of [email protected]m designates 10.224.2.202 as permitted sender) [email protected].google.com; 
     dkim=pass [email protected] 
X-Received: from mr.google.com ([10.224.2.202]) 
     by 10.224.2.202 with SMTP id 10mr4378787qak.8.1376383481951 (num_hops = 1); 
     Tue, 13 Aug 2013 01:44:41 -0700 (PDT) 
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 
     d=gmail.com; s=20120113; 
     h=mime-version:message-id:date:subject:from:to:content-type; 
     bh=YNbTe5hF82u8UBHoyJqTFWAtXaO3n1xZ0aL3mDu5ycM=; 
     b=DAjFv8v0ScIjF0VY1Ec1rtGmfvJ5WAem5TQmyhYt2b24B3fmYy2VEuvScnX4id+4Pi 
     D48Uq8DE2Qoj+N18HZRY+tVnyYdJATrlNfe6FCrQK2Ktue79ox/im5t7lrI5C6WZvXlm 
     TppcL8bOtFoX7y2FE011kGn0vmFSMOWPNbrynbexRJTyafWJrRzhJ6Z8oXfDfdYaY9fG 
     OALcOrMwUd6+KXAZGj5qJhZ/hUEIC5KbaXYwonJoaFDJkZ2zPkV2DHAzY78vLOzcD37g 
     zg43n1rify+udKSvlY9oRnHmAwsu+Sb4ddQ8jtJBQRpw8+MoV9zRKhQgLUdvZU/nmmb4 
     c8OQ== 
MIME-Version: 1.0 
X-Received: by 10.224.2.202 with SMTP id 10mr3639307qak.8.1376383481552; Tue, 
13 Aug 2013 01:44:41 -0700 (PDT) 
Message-ID: <[email protected]> 
Date: Tue, 13 Aug 2013 08:44:41 +0000 
Subject: Test Actions in the Inbox - Tue Aug 13 2013 10:44:41 GMT+0200 (CEST) 
From: [email protected] 
To: [email protected] 
Content-Type: multipart/alternative; boundary=001a11c3e1827e3fef04e3d040f5 

Problem Header:

Delivered-To: [email protected] 
Received: by 10.76.9.231 with SMTP id d7csp139739oab; 
     Tue, 13 Aug 2013 01:44:49 -0700 (PDT) 
Return-Path: <[email protected]> 
Received-SPF: pass (google.com: domain of [email protected] designates 10.236.38.106 as permitted sender) client-ip=10.236.38.106 
Authentication-Results: mr.google.com; 
     spf=pass (google.com: domain of [email protected] designates 10.236.38.106 as permitted sender) [email protected]; 
     dkim=pass [email protected] 
X-Received: from mr.google.com ([10.236.38.106]) 
     by 10.236.38.106 with SMTP id z70mr1926602yha.29.1376383489428 (num_hops = 1); 
     Tue, 13 Aug 2013 01:44:49 -0700 (PDT) 
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 
     d=gmail.com; s=20120113; 
     h=mime-version:message-id:date:subject:from:to:content-type; 
     bh=0ZsOg3hkpKeRGvrg8ym5j4ArBI++UJSNWp46KyrSIsU=; 
     b=faCKadLjkifGzASnhw5FkjbOmo+brPDsEnzZuP5EmhzRxUzBoM2+7IM2oYTEvDDk7V 
     Ib51o8EJ2g3sxP1yo6F+xdaldOcFZ65x3HiZn35hzyagzYHq/ASD/IJJb7rxQmYbmNM9 
     zEMe71JAI1h/Wh9DJUG1vA7+AF83ApJwkeFZWOSRSKDBPAcOTZ7bIe2ymxJgp8mOq7mz 
     /BLDtPPOoq4XZ5aeapEFUvMSpKCKkA/l5hlNk7Tnhv/EuEKl0RK7xYrnIXgtaFKgpRJ4 
     hkaP+EaQNrFdj3WtvBNVeFl1VFcgHYu3padPKbkWTTBuCljICvot67ru6oX9IqrqGA8O 
     bayA== 
MIME-Version: 1.0 
X-Received: by 10.236.38.106 with SMTP id z70mr1246078yha.29.1376383489312; 
Tue, 13 Aug 2013 01:44:49 -0700 (PDT) 
Message-ID: <[email protected]> 
Date: Tue, 13 Aug 2013 08:44:49 +0000 
Subject: Test Actions in the Inbox - Tue Aug 13 2013 10:44:49 GMT+0200 (CEST) 
From: [email protected]ail.com 
To: [email protected] 
Content-Type: multipart/alternative; boundary=089e01184c56f4944004e3d040e8 
+1

1. Ihre E-Mail-Adresse muss White List von Google sein. Nutze diesen Link um sich zu registrieren und weiße Liste E-Mail-Adresse: https://docs.google.com/a/google.com/forms/d/e/1FAIpQLSfT5F1VJXtBjGw2mLxY2aX557ctPTsCrJpURiKJjYeVrugHBQ/viewform?pli=1 –

Antwort

Verwandte Themen