Archived

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

ELS1

Sending Files

Recommended Posts

ELS1    127
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
MartinJ    122
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