Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Using SENDMAIL with Exchange Server

Nov
9
0
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="[email protected]"
OPTION //Mailpassword="notmypassword"
OPTION //Mailuser="Hugh Foster"
OPTION //Mailserver="xx.xx.xx.xx"
SENDMAIL [email protected] "PINGU21 Objects Down Report" @PRESULTS.TXT

some details changed to protect the guilty :)
 
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?
Works here, but without the authentication (user/pass blank) on Exchange 2003.
 

Similar threads

Back
Top