kSendFile

Started by esomma1, June 04, 2022, 05:33:47 PM

Previous topic - Next topic

esomma1

How do I use kSendFile with no attachment? Thanks!

JTaylor

Assuming I remember correctly, just use empty quotes.   

ret = kSendFile(subject,msgfile,"",flags)

Jim

esomma1

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

Odd.   I think that is what I do.   In any event, glad it is working.

Jim

td

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