|
-
Dec 18th, 2002, 03:32 AM
#1
Thread Starter
New Member
winsock and mail attachment...
hy plz
i have a problem. i know how i can send a mail with winsock. but how did i can send a mail with attachment with winsock?
its very important
thanks and greets
dji
-
Dec 18th, 2002, 05:27 AM
#2
Frenzied Member
Winsock is the way your computer talks to the network.
I will assume that you are trying to get your computer to talk to a computer that is ready to receive your mail message.
If there is not a computer ready to receive your message, then you can talk all you like to the network, and no-one will listen!
So, to make sure someone is listening, you need to talk their language. So, you need to end commands to a certain network port, and use a certain protocol - this way you know that the receiver will answer you correctly.
SO:
- You need a computer that is running an SMTP Service.
- You need to connect to its port 25.
- You need to send SMTP commands down the line to it.
<<<SORRY>>> Just read your post / question again!
You will need to know how to create MIME format messages - which allow for SMTP format attachments.
Last edited by JordanChris; Dec 18th, 2002 at 05:38 AM.
-
Dec 18th, 2002, 05:30 AM
#3
Thread Starter
New Member
i can send a mail...i talk in my application with a smtp-server....
but i must also send a file over this server...with mime i think...but i dont know how i must submit the file....and what i must tell the server...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|