FoxPro Programming
SMTP attach file containing a comma
Gravatar is a globally recognized avatar based on your email address. SMTP attach file containing a comma
  Robert Jacobs
  All
  Sep 15, 2023 @ 06:51am

Good afternoon Rick

I am using SMTP in the current Internet & Client Tools version. When you AddAttachment("XXXX, YYYY") then SendMail throws a -1 error saying it cannot find the file " YYYY". It would appear the comma is treating the parameter as a file list.

Not sure if there is workaround. Thanks.

© 1996-2023