below u can see my code...i made a mailer...and try to test it.
and i know ther is sopose to be Text-box that recived the outpot..
some 1 can tell me how to name it?
the code is below so bye that u can tell me the name

VB Code:
  1. Private Mail As String
  2.  
  3. Private Sub Command1_Click()
  4. Connected = False
  5. Socket.Close
  6. Socket.Connect "smtp.012.net.il", 25
  7. ' Attente de connection !
  8. While Connected <> True: DoEvents: Wend
  9. ' Traitement et Envoie du Mail !
  10. Mail = "HELO " & Socket.LocalHostName & vbCrLf
  11. Mail = Mail & "MAIL FROM:<[email protected]>" & vbCrLf
  12. Mail = Mail & "RCPT TO:<[email protected]" & vbCrLf
  13. Mail = Mail & "DATA" & vbCrLf
  14. Mail = Mail & "subject: New Mail" & vbCrLf
  15. Mail = Mail & "from: NVM" & vbCrLf
  16. Mail = Mail & "to: ME" & vbCrLf
  17. Mail = Mail & "       "
  18. Mail = Mail & vbCrLf & "." & vbCrLf
  19. Mail = Mail & "QUIT" & vbCrLf
  20. Socket.SendData Mail
  21. End Sub