open new message in default email client

open new message in default email client

Hi,

We often have to send mails to participants of courses, that are unique. Therefore we need to be able to open a new message in the default mail client of the pc and have the selected emails inserted. Presently we do this by having a custom action in the report, that creates a comma separated list with the selected emails. This list is then passed to a Page where it is formatted as mailto link:

  1. htmlpage Mailadressen(emails)
  2. <%{%>    <a href='mailto:<%=emails%>'>Hier klicken um Mail zu erstellen</a><%}%>
The user can then click on the link to open a new message with all the email adresses. 

I was wondering if there is way to avoid going through the step of creating a Page with a mailto link and instead open an email message directly in the enail client from the custom action? I have tried using openurl() with the mailto as url, but this does not work. Maybe someone has a suggestion?

Thanks,
Michel