Well depending on how your smtp/exchange server is setup it requires domain
authentication. Instead of running as system through a schedule task set it
up to run as a domain user.
"tonyr" wrote:
> I have the following single line script running from a w2k3 server
> Send-SmtpMail -SmtpHost a.b.com -To dope@b.com -From dope@b.com
> -subject "tm down"
>
> if I run it as a user it works fine if I try to run it as a scheduled tasks
> as "system" nothing happens!
>
> any ideas?
> thanks
> tr
>