Sending Files
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
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.
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
Popular Topics
Advertisement