OpenWGA 7.9 - TMLScript reference

Mail
Method :

getAttachmentURLs()

On object Mail
Usage Returns the URLs of resources that will be attached on the mail to send
Description These are the URLs that have been added via mail.addAttachmentURL(). It does not contain attachments added by mail.addAttachment().
Return value List of attachment URLs, represented by Java object java.net.URL
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent