Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Attaching file to an email if exists (https://www.kinook.com/Forum/showthread.php?t=5200)

Shiamak 09-06-2013 01:00 PM

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 :-)

kinook 09-06-2013 06:35 PM

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


All times are GMT -5. The time now is 05:10 AM.


Copyright © 1999-2023 Kinook Software, Inc.