Results 1 to 3 of 3

Thread: winsock and mail attachment...

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2002
    Posts
    2

    Unhappy 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

  2. #2
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Newbury, UK
    Posts
    1,878
    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2002
    Posts
    2
    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
  •  



Click Here to Expand Forum to Full Width