Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML <a> tag mailto generates wrong address

I am using ubuntu 15.04 and chrome. When i click on any html link with mailto protocol e.g.

<a href="mailto:[email protected]">Click to send me email!</a>

It opens my default email application (thunderbird) but populate address field with wrong address. It prepends /// to email address. So in above case, recipient will looks like this

///[email protected]

instead of

[email protected]

Same issue is with skype urls. i.e.

<a href="skype:myusername?chat">Click to chat with me!</a>

It will open skype window with wrong user by prepending slash (/) same happen as with email address.

Any help in this regard will be appreciated.

like image 542
Shahzad Tariq Avatar asked Jun 02 '15 11:06

Shahzad Tariq


1 Answers

There is issue of gvfs package on ubuntu 15.04 which is responsible for opening files or performing actions using default program.

gvfs package opens mailto with wrong address. Remove this package

sudo apt-get purge gvfs

And, It will work fine, for both mailto and skype.

like image 200
Sarwan Kumar Avatar answered Oct 19 '22 23:10

Sarwan Kumar