FYI<BR>I'm running Windows 2000 SP2 with Outlook 2000 SR1<P>Kent,<P>I could not get your code to work at all. It says it does not understand this line:<P>$theNameSpace.Logon "profile", "password"<P>even if I supply valid info in its place.<P><BR>Alex H<BR>I get the following error using your code.<BR><BLOCKQUOTE><font size="1" face="helvetica, arial, sans-serif">code:</font><HR><pre>$Root = CreateObject("Outlook.Application")<BR>$MailItem = $Root.CreateItem(0) ; olMailItem object<BR>? @ERROR<BR>? @serror<BR>$MailItem.Importance=2<BR>$MailItem.Subject = "Automation Test"<BR>$MailItem.To = "man@hotmail.com"<BR>$MailItem.Body = "this is a test 2 sample of a future SendMail UDF()"<BR>$MailItem.Send<BR>? "Next error log..."<BR>? @ERROR<BR>? @serror<BR></pre><HR></BLOCKQUOTE><BR><B>kix32.exe mailit2.kix<BR>0<BR>The operation completed successfully.<BR>Next error log...<BR>1<BR>COM exception error "Send" (Microsoft Outlook - Outlook does not recognize one or more names. ) [1/1]</B><P>It looks like it has some kind of problem with the SEND command maybe.<p>[ 02 January 2002: Message edited by: NTDOC ]