Returns a hyperlink for an item attached to the outgoing message
See also Mail functions, Hyperlink functions.
Signature:
itemlink
=
GetSendMailItemLink(slot)
Arguments:
slot
- Index of an outgoing attachment slot (between 1 andATTACHMENTS_MAX_SEND
) (number
)
Returns:
itemlink
- A hyperlink for the attachment item (string
, hyperlink)
Examples:
-- Scan all the send mail item slots, printing a link for each item for slot=1,ATTACHMENTS_MAX_SEND do local link = GetSendMailItemLink(slot) if link then print("Item " .. link .. " is in slot " .. slot) end end