HTML mailto subject attribute doesnt work in MATLAB web browser

3 ビュー (過去 30 日間)
Megna Hari
Megna Hari 2014 年 8 月 20 日
回答済み: Adam 2015 年 12 月 22 日
So I used web (' ','-helpbrowser') to open up an HTML file I wrote. Everything else seems to work fine except I have a piece of my html page where I do a link with a mailto like this:
if % <a href="mailto:person@email.com?subject=I have a suggestion!"> blah blah </a>
end
(without the if end % stuff - I cant get it to show up in here otherwise)
This works fine when I test out the page in internet explorer but when I click on the link in the matlab web browser it puts "mailto:person@email.com?subject=I have a suggestion!" in the To line of the email. Is there another way to do this?

採用された回答

Adam
Adam 2015 年 12 月 22 日
Single quotes are required around I have a suggestion! This should work:
web mailto:person@email.com?subject='I have a suggestion!'

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by