Great...thanks for the example Razzak. I look forward to implementing into the program.
As always, you and the RBase team always provide a solution. Gary >-------- Original message -------- >From: "A. Razzak Memon" >Date:02/02/2014 11:24 PM (GMT-06:00) >To: [email protected] >Subject: [RBASE-L] - Re: RMail 9.5 - Attachments > >At 11:35 PM 2/2/2014, Gary Wendike wrote: > > >How do you add multiple attachments in RMail 9.5? > > > >I can add one attachment, but I want to multiple attachments to the > >same email. > >Gary, > >Use as many "|ADD_ATTACHMENT" statements as you wish, one at a time. > >The best approach is to define each attachment parameter as a >separate variable >and then simply use the ampersand variable to accomplish the task. > > >Here is a simple example ... > >(Assuming the pdf files are placed in the current folder.) > > SET VAR v1 TEXT = NULL > SET VAR vRMail TEXT = NULL > SET VAR vEMailMemoFileName1 TEXT = 'filename1.pdf' > SET VAR vEMailMemoFileName2 TEXT = 'filename2.pdf' > SET VAR vAttachment1 TEXT = + > ('v1|ADD_ATTACHMENT'&(CVAL('CURRDIR'))+'\'+.vEMailMemoFileName1) > SET VAR vAttachment2 TEXT = + > ('v1|ADD_ATTACHMENT'&(CVAL('CURRDIR'))+'\'+.vEMailMemoFileName2) > PLUGIN RMail v1|CLEAR_ALL > PLUGIN RMail v1|WAIT 1000 > PLUGIN RMail v1|SHOW PROGRESS > PLUGIN RMail v1|HIDE LOG > PLUGIN RMail v1|MESSAGE_TYPE TEXT > -- more parameters here ... > PLUGIN RMail &vAttachment1 > PLUGIN RMail &vAttachment2 > -- more parameters here > PLUGIN RMail vRMail|SEND > -- Error checking here > CLEAR VARIABLES v1,vRMail,vEMailMemoFileName%,vAttachment% > RETURN > >Change the sample as you see fit. > >That's all there is to it! > >Very Best R:egards, > >Razzak > >http://www.rbase.com/ >www.facebook.com/rbase >-- >31 years of continuous innovation! >16 Years of R:BASE Technologies, Inc. making R:BASE what it is today! >-- > >--- RBASE-L >================================================ >TO POST A MESSAGE TO ALL MEMBERS: >Send a plain text email to [email protected] > >(Don't use any of these words as your Subject: >INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, >REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP) >================================================ >TO SEE MESSAGE POSTING GUIDELINES: >Send a plain text email to [email protected] >In the message SUBJECT, put just one word: INTRO >================================================ >TO UNSUBSCRIBE: >Send a plain text email to [email protected] >In the message SUBJECT, put just one word: UNSUBSCRIBE >================================================ >TO SEARCH ARCHIVES: >Send a plain text email to [email protected] >In the message SUBJECT, put just one word: SEARCH-n >(where n is the number of days). In the message body, >place any >text to search for. >================================================ >

