Hi, I'm trying to use the SENDMAIL command to relay off my exchange server. The same BAT file of commands works OK when given an internet email account, so my code is OK, but I can't get the Exchange system to accept the authentication.
The server running the BAT files is an approved relay host on the Exchange server.
Has anyone got this to work?
Here's the code I'm using
OPTION //MailAddress="hugh.foster@servisair.com"
OPTION //Mailpassword="notmypassword"
OPTION //Mailuser="Hugh Foster"
OPTION //Mailserver="xx.xx.xx.xx"
SENDMAIL hugh.foster@servisair.com "PINGU21 Objects Down Report" @PRESULTS.TXT
some details changed to protect the guilty :)
The server running the BAT files is an approved relay host on the Exchange server.
Has anyone got this to work?
Here's the code I'm using
OPTION //MailAddress="hugh.foster@servisair.com"
OPTION //Mailpassword="notmypassword"
OPTION //Mailuser="Hugh Foster"
OPTION //Mailserver="xx.xx.xx.xx"
SENDMAIL hugh.foster@servisair.com "PINGU21 Objects Down Report" @PRESULTS.TXT
some details changed to protect the guilty :)