Sorry, seems like some of the code was eaten in the HTML part of that message. Here it is again: macro index,pager 'v' \ "<view-attachments><search>text/html<return><view-mailcap><exit>" \ "Open html attachment"