home *** CD-ROM | disk | FTP | other *** search
- <HTML>
- <BODY>
- <!-- This script illustrates the usage of AppendBodyFromFile methog
- as well as AddEmbeddedImage. The files SampleBody.htm and margin.gif are included -->
- <%
- Set Mail = Server.CreateObject("Persits.MailSender")
- Mail.Host = "smtp.mycompany.com"
- Mail.From = "jsmith@persits.com"
- Mail.AppendBodyFromFile "d:\dir\SampleBody.htm"
- Mail.AddEmbeddedImage "d:\dir\margin.gif", "My-Background-Image"
- Mail.AddAddress "someaddress@mycompany.com"
- Mail.Send
- %>
-
- </BODY>
- </HTML>
-