Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-06-2013, 01:00 PM
Shiamak Shiamak is online now
Registered User
 
Join Date: 02-07-2006
Posts: 84
Attaching file to an email if exists

Is there a way to attach a file to email only if it exists? I know this is perhaps child's play in VBP but still wanted to ask :-)
Reply With Quote
  #2  
Old 09-06-2013, 06:35 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Use something like this in the Attachments field:
Code:
[vbld_IIf(vbld_FSO.FileExists("%FILENAME%"), "%FILENAME%", "")]
http://kinook.com/VisBuildPro/Manual...xpressions.htm
http://kinook.com/VisBuildPro/Manual/sysscriptfile.htm
http://kinook.com/VisBuildPro/Manual/sysscriptmisc.htm
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 05:23 PM.


Copyright © 1999-2023 Kinook Software, Inc.