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

SignUp Now!

@CON: does not work with sendmail for pipe

In one part @CON: is refered to as console(which is how it seems to be working like).
but it has an example (type myfile.txt | sendmail [email protected] Party @con:) whish is showing STDIN piping.
I am trying to get the piping to work any ideas?
Thanks Scott
this is takes from the help.
3. The messagemay either be entered on the command line, or it may be placed in a text file. To tell SENDHTML to send the contents of a file as the message text, use @sign, followed by the filename. You can use the same approach to send the text content of the clipboard (@CLIP:) or the console (@CON:):

sendhtml [email protected] Party @c:\messages\invitation.txt
sendhtml [email protected] Party @clip:
type myfile.txt | sendmail [email protected] Party @con:
In your examples, I don't see where you tried to use @CON. However, I do see a typo in the help for SENDHTML. The third example, that you quoted, uses sendMAIL instead of sendHTML.

sendhtml [email protected] Party @c:\messages\invitation.txt
sendhtml [email protected] Party @clip:
type myfile.txt | sendhtml [email protected] Party @con:
Is that not working for you?

Similar threads