我有一个电子邮件服务,生成包含特定信息和2个链接按钮的批准电子邮件......事实上,它在电子邮件应用程序中工作,除了iphone上的outlook移动应用程序,这里没有出现2个按钮是我的链接按钮html从代码后面添加:
strHtmlButton = "<tr><i><font size=\"2\" color=\"red\">Please click on one of the below Actions to automaticallygenereate an e-mail response. Make sure that the input comments are fed within quotes. Please do not modify any other response prompts.</font> </i><br><p> Action:<a id='lnkApprove' style='text-decoration: none;' class=\"OraLink\" href=#/\"mailto:" + objEmail.EmailFrom + "?subject=" + SubjectApp + " &body=Action:%20%27Approve%27%0D%0A%0D%0AManager%20Comments:%20%27%27%0D%0A%0D%0A%0D%0A%0D%0AAPID " + PermissionID + "%0D%0A%0D%0AManagerID " + ManagerID + "%0D%0A%0D%0ANotificationId " + NotificationID + "\"><font size=\"-1\"><b><input type=\"submit\" value=\"Approve\"></b></font></a><a id='lnkReject' style='text-decoration: none;' class=\"OraLink\" href=#/\"mailto:" + objEmail.EmailFrom + "?subject=" + SubjectApp + "&body=Action:%20%27Reject%27%0D%0A%0D%0AManager%20Comments:%20%27%27%0D%0A%0D%0A%0D%0A%0D%0AAPID " + PermissionID + "%0D%0A%0D%0AManagerID " + ManagerID + "%0D%0A%0D%0ANotificationId " + NotificationID + "\"> <font size=\"2\"><b><input type=\"submit\" value=\"Reject\"></b></font></a></p>\"";
然后我将这个字符串添加到电子邮件正文并发送电子邮件,它没有出现在iphone的机身上,我试图添加id,target,#,#/ ......没有任何工作..
答案 0 :(得分:0)
对于每个<a href="#linkname">linkname</a>
,
您需要一个相应的<a name="linkname"></a>
才能在您的代码中链接到它。