Kennedy Kennedy - 1 year ago 110
PHP Question

how to insert gmail composing button in my website

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!

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

Answer Source

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


<a target="_blank" href="">Click here to email</a>