smtp mailer outpot name...please just read
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:
Private Mail As String
Private Sub Command1_Click()
Connected = False
Socket.Close
Socket.Connect "smtp.012.net.il", 25
' Attente de connection !
While Connected <> True: DoEvents: Wend
' Traitement et Envoie du Mail !
Mail = "HELO " & Socket.LocalHostName & vbCrLf
Mail = Mail & "DATA" & vbCrLf
Mail = Mail & "subject: New Mail" & vbCrLf
Mail = Mail & "from: NVM" & vbCrLf
Mail = Mail & "to: ME" & vbCrLf
Mail = Mail & " "
Mail = Mail & vbCrLf & "." & vbCrLf
Mail = Mail & "QUIT" & vbCrLf
Socket.SendData Mail
End Sub
Re: smtp mailer outpot name...please just read
why not just use the built in mail classes in the framework? Are you doing something special here that you need to connect to the mail server using sockets?
Re: smtp mailer outpot name...please just read
dose it matter?
if u realy wanna know i just skilling socket and telnet...
and do u know the answer? thx
Re: smtp mailer outpot name...please just read
Well this doesn't look like VB.NET code to me (I didn't even notice the first time I looked)... can you confirm if you are using VB6? if you are this is the wrong forum, but I will be more than happy to move it for you, where you can probably get an answer from one of our VB6 gurus.
Re: smtp mailer outpot name...please just read
yes it is...
please move me :P
Re: smtp mailer outpot name...please just read
Re: smtp mailer outpot name...please just read