You can override the defaults with option. I have several .BAT files that look like this:Apparently it's not possible to override the configured SMTP server with a SENDMAIL command line option. Tonight I have a use for that. I'll put it in the suggestions. Maybe I can do it temporarily with OPTION ... I'll try.
@echo off Option //MailServer=smtp.somewhere.xxx Option //[email protected] Option //MailPort=587 Option //MailUser=username Option //MailPassword=password