User Tools

Site Tools


sending_20an_20email_20with_20attachments

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sending_20an_20email_20with_20attachments [2018/11/24 14:25]
richardrussell Fixed poorly-formatted link.
sending_20an_20email_20with_20attachments [2021/02/20 20:08] (current)
richardrussell Add quotes around filename
Line 132: Line 132:
         IF FN_writelinesocket(skt%, "--BB4Wsep")         IF FN_writelinesocket(skt%, "--BB4Wsep")
         IF FN_writelinesocket(skt%, "Content-Type: application/octet-stream")         IF FN_writelinesocket(skt%, "Content-Type: application/octet-stream")
-        IF FN_writelinesocket(skt%, "Content-Disposition: attachment; filename="+file$)+        IF FN_writelinesocket(skt%, "Content-Disposition: attachment; filename="""+file$+"""")
         IF FN_writelinesocket(skt%, "Content-Transfer-Encoding: base64")         IF FN_writelinesocket(skt%, "Content-Transfer-Encoding: base64")
         IF FN_writelinesocket(skt%, "")         IF FN_writelinesocket(skt%, "")
sending_20an_20email_20with_20attachments.1543069502.txt.gz ยท Last modified: 2018/11/24 14:25 by richardrussell