home *** CD-ROM | disk | FTP | other *** search
- This SMTP.OCX has properties such as follows :
-
- Send_Mail : Boolean variable (Read/Write)
- Set to TRUE if we want to connect to
- SMTP Server and send our mail. If we
- succeeded send email this property set to
- False (default) again by the ocx.
-
- Mail_Server : String Variable (Read/Write).
- Name of SMTP Server.
-
- Mail_To : String Variable (Read/Write).
- Address of receipient.
-
- Mail_From : String Variable (Read/Write).
- Your mail address.
-
- Subject : String Variable (Read/Write).
- Subject of mail.
-
- Message : String Variable (Read/Write).
- Body of message.
-
- Status : String Variable (Read Only).
- This property give connection status to SMTP server and
- Error message from Winsock or Error message from SMTP Server.
-
- Error : Boolean variable (Read Only)
- Set to True by the ocx if we have error from SMTP Server or
- error from Winsock.
-
- The steps to send mail as follows :
- --------------------------------------
- 1. ' Set SMTP server's name
- Smtp1.Mail_Server = your smtp server address (Text)
- 2. ' Set mail address of sender
- Smtp1.Mail_From = your email address (Text)
- 3. ' Set mail address of receipient
- Smtp1.Mail_To = address of receipient (Text)
- 4. ' Set mail subject
- Smtp1.Subject = your subject (Text)
- 5. ' Set body of message
- Smtp1.Message = your body message (Text)
- 6. ' Send_Mail set to True means we connect to SMTP server and send your mail
- Smtp1.Send_Mail = True (Boolean)
-
- Let me know your bugs report or suggestions,so i can give my best to Internet Community.
-
- Regards,
- Ari
- MicroTech Labs.
- Bogor - Indonesia
-
- Email : arigr@indo.net.id
- microtech_labs@theoffice.net
- Homepage : http://getit.at/freeocxsite/
- http://microtechlabs.hypermart.net
-