> i am able to perform the following command fine when i want to send mail on the
> local network.
> cat input_message.txt | mail -s "hello world" [EMAIL PROTECTED]
>
> is there a flag that i can pass to mail to tell it to use the proper server for
> when i want to perform this operation to an address outside my local network?
> cat input_message.txt | mail -s "hello world" [EMAIL PROTECTED]


I've always redirected the file into the mail command as opposed to piping
cat results to the mail command. eg:

# mail -s "Hello, World!" [EMAIL PROTECTED] < input_message.txt

Steve


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to