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

SignUp Now!

Fixed Sendmail parameter /USER= does not work

I used this command line for test and it work fine:

sendmail /V /X [email protected] "Test message" @d:\mytext.txt >d:\testlog.txt

However, I need to override the sender

sendmail /USER="[email protected] /V /X [email protected] "Test message" @d:\mytext.txt >d:\testlog.txt

The last is right as documented by TCC help. But regardless where I add /USER=, the parameter us used as an (invalid) recipient and the message is rejected by the server.

Someone can tel me what I am doing wrong?
Thanks, but to make it more complicated, the first quote was a typo in my message.
In the mean time i found this (is it a bug or am I just somewhat stupid.

WORKS: sendmail /V /X /[email protected] [email protected] "Test message" @d:\dirtest.txt
WORKS: sendmail /V /X [email protected] "Test message" @d:\dirtest.txt >D:\testlog.txt
ERROR: sendmail /V /X /[email protected] [email protected] "Test message" @d:\dirtest.txt >D:\testlog.txt

Thus only using both /USER= AND redirection results in the following message:
TCC: D:\testmailX.btm [2] SMTP protocol error. 550 Administrative prohibition.

Any idea what happens?
Moving the /X has no effect, however removing it has solved the problem. And now I see that even without /X, te command uses EHLO

[FOX] Ultimate Translator