This function retrieves the name of the attachment in the email.
<DllImport("SapphireMail.dll")> _ Public Function sGetAttachmentName(ByVal sService As String, ByVal lFolder As Integer, _ ByVal lReadEntry As Integer, ByVal sAttachment As String, ByVal lLicence As Integer) As Integer End Function
Parameters
sService
A string representing the name of the mail account to lookup from.
lFolder
An Integer representing the folder to retrieve the email from. 1 = Inbox, 0 = Drafts.
lReadEntry
An Integer representing the index of the email to read the attachment name from.
sAttachment
A string variable used to store the returned attachment name.
lLicence
An Integer specifying the Sapphire Mail licence number.
Return Values
The return value can be ignored for this function.