by Third Eye (1 Submission)
Category: Internet/HTML
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 2nd April 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)
With this application you can send mail from your computer with internet connection without having to access any mail client. This can also
API Declarations
you need the sendmail.ocx file and please make the required form with 4 text boxes text1....text4 and a text area and two command buttons command1 & 2 and one check box and yes the lables from 1 to 4 in this order
label1 : From Name
label 2 : From Email
label3 : To Email
label 4 : Subject
Command1 : Send
Command 2 : Reset
checkbox1 : send as HTML
Just Cut & Copy paste the code in the form and make the form desin with the controls mentioned
Private Sub Command1_Click()
Sendmail2.MailName = Text1.Text
Sendmail2.MailFrom = Text2.Text
Sendmail2.MailTo = Text3.Text
Sendmail2.MailSubject = Text4.Text
Sendmail2.MailMessage = Text5.Text
If Check1.Value = 1 Then Sendmail2.AsHTML = True
Sendmail2.Send
If Sendmail2.Success = "0" Then
Label6.Caption = "Your E-Mail Has Been Successfully Sent."
Else
Label6.Caption = "Your E-Mail Could Not Be Sent."
End If
End Sub
Private Sub Command2_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
End Sub
No comments have been posted about With this application you can send mail from your computer with internet connection without having . Why not be the first to post a comment about With this application you can send mail from your computer with internet connection without having .