OK, so let's say more specifically I want to use Howard's method. So I need to register the dll, which I did on my test machine. Then I tried to execute the code as follows:

Code:
 
Method Email($MailHost, $To, $From, $Subject, $Body)
; Sends an email from your script.
; Be sure to double the "@" in the email address.
$Win32Admin = createobject("Win32Admin")

$mailhost = 'smtp.cintas.com'
$to = 'creamerm@@cintas.com'
$from = 'creamerm@@cintas.com'
$subject = 'Test Message'
$body = 'Email from KiXtart is great!'

if $Win32Admin.Email($mailhost, $to, $from, $subject, $body)
? ? "Email to " + $to + " sent."
?
else
? ? "Email Failed! @serror"
?
endif



The script completes, but I never receive the email.

My machine is an Outlook client to an Exchange server, which is also our SMTP server. I thought that in order for my machine to send that message via a non-Outlook client, the Exchange server would have to be configured to allow me to relay the message off of it. But if from your reply, you're saying that's not the problem, what else might I check?

Thanks Jens,