Since you're using Outlook (Express), then depending on which operating system you're using, you can also script the entire thing using COM + CDONTS (or CDO).
  • .comopen cdoMessage CDO.Message
    !.echo -q $com(cdoMessage, Subject, 4, *bstr, Test message from # )
    !.echo -q $com(cdoMessage, Sender, 4, *bstr, your[/b]@[/b]email.com)
    !.echo -q $com(cdoMessage, To, 4, *bstr, your[/b]@[/b]email.com)
    !.echo -q $com(cdoMessage, TextBody, 4, *bstr, This is a test. Hope you like it!)
    !.echo -q $com(cdoMessage, Send, 1)
    .comclose cdoMessage
This method creates an email object, fills out whatever needs to be filled out and sends it using your Outlook Express settings.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C