添加确认订阅按钮以进行电子邮件验证 [英] Add Confirm Subscription button for email verification

查看:107
本文介绍了添加确认订阅按钮以进行电子邮件验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Guys,



请帮我在我的Gmail中添加快速操作按钮。我想添加确认订阅按钮以进行电子邮件验证。我想使用PHP和jquery等。请指导。

我正在使用下面的代码,但是没有显示任何快速操作按钮。



Hello Guys,

Please help me to add quick action buttons in my gmail. I want to "Add Confirm Subscription button for email verification". I want to use PHP and jquery etc. for this. Please guide.
I'm using below code for this but this don't showing any quick action button.

<?php

    $txtemail = "harishmadaan@xportsoft.com";

    $value = "harish.xportsoft@gmail.com";

    $sub = "Thanks for Contacting Us!" ; //subject of email that is sent

    $headersuser = 'From: '.$txtemail . "\r\nContent-Type: text/html; charset=utf-8" .'X-Mailer: PHP/' . phpversion();

    $mess = '<html>
  <head>
    <script type="application/ld+json">
    {
  "@context": "http://json-ld.org/contexts/person.jsonld",
  "@id": "http://dbpedia.org/resource/John_Lennon",
  "name": "John Lennon",
  "born": "1940-10-09",
  "spouse": "http://dbpedia.org/resource/Cynthia_Lennon"
}
    </script>
  </head>
  <body>
    <p>
      This a test for a Go-To action in Gmail.
    </p>
  </body>
</html>';

    $this_mail = mail($value,$sub,$mess,$headersuser);

    if($this_mail) echo 'sent!';

        else echo error;

?>







问候,

Harish




Regards,
Harish

推荐答案

txtemail = < span class =code-keyword> harishmadaan@xportsoft.com ;

txtemail = "harishmadaan@xportsoft.com";


value = harish.xportsoft@gmail.com ;

value = "harish.xportsoft@gmail.com";


sub = < span class =code-keyword>感谢您与我们联系! ; // subject email <温泉n class =code-summarycomment> 已发送

sub = "Thanks for Contacting Us!" ; //subject of email that is sent


这篇关于添加确认订阅按钮以进行电子邮件验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆