Results 1 to 6 of 6

Thread: Help with SMTP prog

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2002
    Posts
    89

    Help with SMTP prog

    OK i made a smtp email prog, works great. Now i want to add a text box that displays all the info i send to telnetand what telnet sends back like when i send HELO it says HELO (then my ip address) and what not. I actually think i would work if i used winsock1.listen and then local port 25 but that doesnt work, no data comes up.

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Help with SMTP prog

    You are using telnet? Not Winsock -- You should use winsock, its a lot easier. You do not listen on port 25, to listen is to wait for a connection. You will need to connect to port 25.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2002
    Posts
    89

    Re: Help with SMTP prog

    No i am using winsock, just sending to data to the smtp server whcih is the telnet language(i guess you can call it that). But it doesnt display any data i receive, and i still havent fixed it...

  4. #4
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: Help with SMTP prog

    post some code so we can see the problem.

  5. #5
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Help with SMTP prog

    Quote Originally Posted by MrSmellyBelly
    No i am using winsock, just sending to data to the smtp server whcih is the telnet language(i guess you can call it that). But it doesnt display any data i receive, and i still havent fixed it...
    The commands you are sending are referred to as SMTP (Simple Mail Transfer Protocol) commands. You should recieve data from the server the moment the connection is established.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  6. #6
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: Help with SMTP prog

    Here is a class you can use to send email from VB
    http://www.vbforums.com/showthread.p...39#post1985339

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