This is a multi-part message in MIME format.

------=_NextPart_000_00D7_01C58BAC.DA457CF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

How do I send a log or text file over e-mail as a service. The unit in =
question will not be logged in???

--=20
SHANE CLARK
------=_NextPart_000_00D7_01C58BAC.DA457CF0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1499" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>How do I send a log or text file over =
e-mail as a=20
service. The unit in question will not be logged in???</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>-- <BR>SHANE =
CLARK</FONT></DIV></BODY></HTML>

------=_NextPart_000_00D7_01C58BAC.DA457CF0--

RE: How to send log file via email by Bartly

Bartly
Wed Jul 20 10:26:02 CDT 2005

This is how I do it, but the server or machine needs to have SMTP installed.


'If log file found attach amd send email using CDO.Message object
If strLogFile > "0" Then
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "backup@" & strServer
objEmail.To = strEmailAddress
objEmail.Subject = "Backup Log from: " & strServer
objEmail.TextBody = "Backup Log Attached"
objEmail.AddAttachment strLogFile
objEmail.Send

"SHANE CLARK" wrote:

> How do I send a log or text file over e-mail as a service. The unit in question will not be logged in???
>
> --
> SHANE CLARK