@CON: does not work with sendmail for pipe

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Sep 12, 2010
1
0
#1
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 abc@xyz.com 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 abc@xyz.com Party @c:\messages\invitation.txt
sendhtml abc@xyz.com Party @clip:
type myfile.txt | sendmail abc@xyz.com Party @con:
 

samintz

Scott Mintz
May 20, 2008
1,228
11
Solon, OH, USA
#2
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.

Code:
sendhtml abc@xyz.com Party @c:\messages\invitation.txt
sendhtml abc@xyz.com Party @clip:
type myfile.txt | sendhtml abc@xyz.com Party @con:
Is that not working for you?
-Scott
 
#3
Code:
sendhtml abc@xyz.com Party @c:\messages\invitation.txt
sendhtml abc@xyz.com Party @clip:
type myfile.txt | sendhtml abc@xyz.com Party @con:
That third one doesn't work here (same for SENDMAIL). It takes you to input mode where you type, terminate with ^Z, and what you typed becomes the message body.