Sending Files

Started by
0 comments, last by ELS1 22 years, 8 months ago
I am working on a SMTP anonymous email program...but i am stuck. how in the hell do i send files? i mean...what command is there to send a file(using telnet)? thanks
Advertisement
SMTP does not allow the transfer of binary information, only text. You need to encode any binary information so that it is just text.
You would need to make your message a multipart one. One would be the actual message body. Another would be an encodeded part. You could encode with UUEncoding (I think another was base64).
Now, if you''ve already built up a text file that contains all of the SMTP commands and parameters and just want to "send" that, try a copy/paste from notepad.

This topic is closed to new replies.

Advertisement