<DIV>Here is some VBA that I use to send files from a network drive. Hope this helps...</DIV>
<DIV> </DIV>
<DIV> Dim appOutLook As Outlook.Application<BR> Dim MailOutLook As Outlook.MailItem</DIV>
<DIV> Call SET_INACT_DATE_KS<BR> <BR> Set appOutLook = CreateObject("Outlook.Application")<BR> Set MailOutLook = appOutLook.CreateItem(olMailItem)</DIV>
<DIV> With MailOutLook<BR> .To = "email address here"</DIV>
<DIV> .BCC = "email address here" </DIV>
<DIV> .Subject = "Email Subject in Here"<BR> .Body = "***** This is a system generated email. Do not reply to sender. *****" _<BR> & vbNewLine & vbNewLine _<BR> & "Blah Blah Blah"<BR> .Attachments.Add "C:\MyFolderName\MyFile.mdb", olByValue, 1, "Attchment Name"<BR> .Send<BR> End With</DIV>
<DIV> </DIV>
<DIV><BR> <BR><BR><B><I>Rocky Smolin - Beach Access Software <bchacc@san.rr.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE></STYLE>
<DIV><FONT face=Arial size=2>Dear List:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does anyone know if it is possible to attach a database to an email using SendObject? Right now I send it using the Outlook object model but I don't want the user to be limited to using Outlook for their mail client.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>MTIA,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Rocky Smolin<BR>Beach Access Software</FONT></DIV>
<DIV> </DIV>_______________________________________________<BR>AccessD mailing list<BR>AccessD@databaseadvisors.com<BR>http://databaseadvisors.com/mailman/listinfo/accessd<BR>Website: http://www.databaseadvisors.com<BR></BLOCKQUOTE><BR><BR><DIV>
<DIV>
<P align=center><STRONG>Lonnie Johnson<BR></STRONG><STRONG>ProDev</STRONG>, Professional Development of MS Access Databases<BR>Visit me at ==> <A href="http://www.prodev.us/">http://www.prodev.us</A></P>
<P><BR><A href="http://www.galaxymall.com/software/PRODEV"><BR></A><BR> </P></DIV></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com">Yahoo! SiteBuilder</a> - Free, easy-to-use web site design software