Salesforce

How Do I Handle Email Attachments? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Handle Email Attachments? (Magic xpa 3.x)

When you receive your emails, one of the functions is

MailMsgFile(Y)

Where Y is the mail index. This returns the number of attachments on this particular email.

Then, you need to cycle through each of the attachments using

MailMsgFile(Y,Z)

where Y is the email index, and Z is the attachment index. This will give you the actual file system name of the attachment, as it is stored on your computer.

See also

The Online and Rich Client Samples projects (program EL04 and REL04)

Reference
Attachment 
Attachment