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

查看:65
本文介绍了如何在我的网站中插入gmail作曲按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Gmail邮件图标link.when我点击链接它将打开gmail撰写邮件(当用户已经登录),否则它会转到gmail登录页面。



Exatly like mynthra site



http://www.myntra.com/Shirts /肥大港/肥大 - 港 - 男士 - 海军Erida-修身时尚休闲桖/ 123607 /买nav_id = 7&放大器; SEARCHQUERY =男士休闲衬衫和放大器; SERP = 2及UQ =假#

在产品图片下面有gmail图标,我需要同样的操作

快速谷歌搜索,这里是你的答案。例如:

 < a target =_ blankhref =https://mail.google.com/mail/?view=cm&fs=1&tf=1&to =youremail@gmail.com& body = my-text>点击此处发送电子邮件至< / a> 

来源


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.

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#!

in above link,below the product image have gmail icon is there,same operation i need

解决方案

A quick google search and here is your answer. Just use the given URL instead of mailto:

Example:

<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>

Source

这篇关于如何在我的网站中插入gmail作曲按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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