That seems a bit excessive. How about
:
(new-object Net.Mail.SmtpClient -arg
"mailserver.example.com").Send("from@powershell.com", "to@example.com",
"Subject", "Here is some mail from PowerShell.")
dreeschkind wrote:
> http://groups.google.de/group/micros...f5421e406925f0
>
> --
> greetings
> dreeschkind
>
> "Fabio GRANDE" wrote:
>
>> Hi all.
>> I'm wondering if it's possible to send eMails directly from Powershell...
>>
>> Can You point me in the right direction ?
>>
>> TIA
>> FabioG