Check out the sample code below to
see just how easy it is to use the SSL Plug-in. But don't let the ease of use
fool you; the SSL Plug-in component is very powerful and
packed with features. The sample code on this page demonstrates the most basic features of
the SSL Plug-in. Be sure to click on the "Other Samples" tab to find
more advanced samples.
| Sample Notes | | This sample demonstrates the basic functionality of the MailStore component that stores and retrieves a message. |
Set objSMTP = CreateObject("EasyMail.SMTP") objSMTP.LicenseKey = "Your Company/12345ABCDEF"
Set objSSL = CreateObject("EasyMail.SSL); objSSL.LicenseKey = "Your Company/12345ABCDEF" objSMTP.MailPort=465 objSMTP.SSL=objSSL
objSMTP.MailServer = "mail.yourdomain.com" objSMTP.Subject="Sample Message" objSMTP.BodyText = "message" objSMTP.FromAddr = "sales@quiksoft.com" objSMTP.AddRecipient "J Doe","jdoe@domain.com", 1 objSMTP.Send
|