I need to be able to send an email with a file attached (easy)
and I have to be able to have a canned message as well in
the body. How do I do that?
This is what I have right now
------------------
-Greg
and I have to be able to have a canned message as well in
the body. How do I do that?
This is what I have right now
Code:
TCP PRINT hTCP, "Subject: " & subjectText$ TCP PRINT hTCP, "Date: Thu, 28 Jun 2001 20:51:22 -0500" TCP PRINT hTCP, "Return-Receipt-To: Open RFI <" & fromText$ & ">" TCP PRINT hTCP, "MIME-Version: 1.0" TCP PRINT hTCP, "X-Mailer: " & $programID TCP PRINT hTCP, "Content-Type: multipart/mixed" TCP PRINT hTCP, "" TCP PRINT hTCP, "Content-Type: TEXT/PLAIN; charset=ISO-8859-1" TCP PRINT hTCP, "" REPLACE $Crlf & "." WITH $Crlf & ".." IN msgText$ TCP PRINT hTCP, msgText$ TCP PRINT hTCP, "." TCP PRINT hTCP, "Content-Type: application/octet-stream; name=" + "greg.dat" TCP PRINT hTCP, "Content-transfer-encoding: base64" TCP PRINT hTCP, "" TCP PRINT hTCP, sMIME$ TCP PRINT hTCP, "."
-Greg
Comment