Archived

This topic is now archived and is closed to further replies.

Sending Files

This topic is 5984 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites