1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

@CON: does not work with sendmail for pipe

Discussion in 'Support' started by Scott Carter, Aug 31, 2012.

  1. Scott Carter

    Joined:
    Sep 12, 2010
    Messages:
    1
    Likes Received:
    0
    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:
     
  2. samintz

    samintz Scott Mintz

    Joined:
    May 20, 2008
    Messages:
    1,177
    Likes Received:
    11
    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. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,777
    Likes Received:
    29
    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.
     

Share This Page