Author Topic: kSendFile  (Read 355 times)

esomma1

  • Newbie
  • *
  • Posts: 2
kSendFile
« on: June 04, 2022, 05:33:47 pm »
How do I use kSendFile with no attachment? Thanks!

JTaylor

  • Pundit
  • *****
  • Posts: 1832
    • Data & Stuff Inc.
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

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

JTaylor

  • Pundit
  • *****
  • Posts: 1832
    • Data & Stuff Inc.
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

td

  • Tech Support
  • *****
  • Posts: 4094
    • WinBatch
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.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade