如何在我的网站中插入 gmail 撰写按钮 [英] how to insert gmail composing button in my website

查看:24
本文介绍了如何在我的网站中插入 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&ser​​p=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 撰写按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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