Home > Contents > Index >  
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

mail:attachment

Includes an attachment to the SMTP email message sent by mail:send.

Syntax

Parameters

name (optional)
Name of the attachment. Only specify this parameter if attachment is a String. If attachment is a File or FTVAL object, do not specify name.

value (required)
Value of attachment. This parameter can be a String, File, or FTVAL object.

Description

Use as an inner tag of mail:send to add attachments to email.

Example

This example adds a text file as an attachment in an email sent to cory.

   Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.