Thanks Bill...however, I found out that you need to have the character '#'
between the file names, Sami confirmed it as well. I believe I found the
information on a post from R:azzak to you last year.

Javier,

Javier Valencia
913-915-3137


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Bill Eyring
Sent: Friday, October 02, 2009 3:46 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: MAPI Attachments

Javier,

I think this will give you want you want;

set v vfile1 text=('FileName1'+'.pdf#')
set v vfile2 text=('FileName2'+'.pdf')
Set v vAttachments text= ('Attachments:'+.vfile1&.vfile2)

The rest you know.

SET VAR vParameters = +
(.vQuote+.vDummy&.vPipe+.vTo&.vPipe+.vSubject&.vPipe+.vCc&.vPipe+.vBcc&.vpip
e +
+.vBody&+.vPipe+.vAttachments&.vPipe+.vSendDirect)

PLUGIN MAPIMail3.RBL &vParameters

The # sign is the key for multiple file attachments.

Hope this helps.

Bill Eyring

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Javier
Valencia
Sent: Friday, October 02, 2009 12:26 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - MAPI Attachments

Which is the correct syntax to include more than one file as attachment
using MAPI?
More specifically, do I need to enclose each file and path in quotes and
what is the separator between file names?
I can send one file attachment but I am having a brain freeze on how to
attach more than one file. TIA

Javier Valencia
913-915-3137


Reply via email to