topher Posted February 1, 2008 Report Share Posted February 1, 2008 I want to create a macro that will email all contents of a folder without knowing the filenames or how many files there may be. I tried to create a macro to email an attachment, but it wanted me to choose a specific file. So I editted the macro in direct editor to replace the file name with a single * but this did not work. I only received an email with no attachments. Is there something in the below syntax I can change? <EMAIL2:Center:Center:Center:Center:Center:Center:RNR1TObob@hotmail.com|bob@ho tmail.com;S1sending folderA2C:\Documents and Settings\topher\My Documents\My Pictures\*;> Quote Link to comment Share on other sites More sharing options...
Cory Posted February 1, 2008 Report Share Posted February 1, 2008 <REP3:07:000002:000001:0001:0:01:c:\test><TMVAR2:07:02:00:000:000:%T1%;><ENDREP> You can't use wildcards for attachments. This is what I do. I discovered a while ago that if you have a variable number of attachments you can accumulate them in a string var provided they are separated by semicolons. In fact you can do this with many tings in the email command. And it makes sense because if you look at the direct editor that’s all they do there. TO use this simply put T2 as the attachment. Works slick! Quote Link to comment Share on other sites More sharing options...
topher Posted February 1, 2008 Author Report Share Posted February 1, 2008 It worked perfectly. Thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.