how to insert gmail composing button in my website(如何在我的网站中插入 gmail 撰写按钮)
问题描述
我有 gmail 邮件图标链接.当我单击该链接时,它将打开 gmail 撰写消息(当用户已经登录时),否则它将转到 gmail 登录页面.
i have gmail mail icon link.when i click the link it will open gmail compose message(when user already login) otherwise it will goto gmail login page.
非常像 mynthra 网站
Exatly like mynthra site
http://www.myntra.com/Shirts/Mast-Harbour/Mast-Harbour-Men-Navy-Erida-Slim-Smart-Casual-Shir/123607/buy?nav_id=7&searchQuery=men-casual-shirts&serp=2&uq=false#!
在上面的链接中,产品图片下方有gmail图标,我需要同样的操作
in above link,below the product image have gmail icon is there,same operation i need
推荐答案
快速谷歌搜索,这里就是你的答案.只需使用给定的 URL 而不是 mailto:
A quick google search and here is your answer. Just use the given URL instead of mailto:
例子:
<a target="_blank" href="https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=youremail@gmail.com&body=my-text">Click here to email</a>
来源
这篇关于如何在我的网站中插入 gmail 撰写按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在我的网站中插入 gmail 撰写按钮


- SoapClient 设置自定义 HTTP Header 2021-01-01
- 如何定位 php.ini 文件 (xampp) 2022-01-01
- Oracle 即时客户端 DYLD_LIBRARY_PATH 错误 2022-01-01
- PHP Count 布尔数组中真值的数量 2021-01-01
- 从 PHP 中的输入表单获取日期 2022-01-01
- Laravel 仓库 2022-01-01
- Mod使用GET变量将子域重写为PHP 2021-01-01
- 带有通配符的 Laravel 验证器 2021-01-01
- 正确分离 PHP 中的逻辑/样式 2021-01-01
- 没有作曲家的 PSR4 自动加载 2022-01-01