WinBatch Technical Support Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Current version: 2022D (6.22DVD)
Home
Help
Search
Tech Database
Documentation
Downloads
Hints
Login
Register
WinBatch Technical Support Forum
»
All Things WinBatch
»
WinBatch
»
kSendFile
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: kSendFile (Read 356 times)
esomma1
Newbie
Posts: 2
kSendFile
«
on:
June 04, 2022, 05:33:47 pm »
How do I use kSendFile with no attachment? Thanks!
Logged
JTaylor
Pundit
Posts: 1832
Re: kSendFile
«
Reply #1 on:
June 04, 2022, 07:42:21 pm »
Assuming I remember correctly, just use empty quotes.
ret = kSendFile(subject,msgfile,"",flags)
Jim
Logged
esomma1
Newbie
Posts: 2
Re: kSendFile
«
Reply #2 on:
June 06, 2022, 11:26:53 am »
Jim,
Thanks for responding so quickly! I had tried "" but it didn't work. Just by chance I found out that an "@" will send no attachment. Thanks again.
Eric
Logged
JTaylor
Pundit
Posts: 1832
Re: kSendFile
«
Reply #3 on:
June 06, 2022, 01:15:57 pm »
Odd. I think that is what I do. In any event, glad it is working.
Jim
Logged
td
Tech Support
Posts: 4094
Re: kSendFile
«
Reply #4 on:
June 06, 2022, 01:58:53 pm »
FWIW, A simple empty string ("") in the "attachments" parameter works for me, as well.
Logged
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
- Dr. Tom Cade
Print
Pages: [
1
]
Go Up
« previous
next »
WinBatch Technical Support Forum
»
All Things WinBatch
»
WinBatch
»
kSendFile