| PLEX86 | ||
|
lynx sendmail from script 92lynx sendmail from script 93 printf "%s" "x" printf "%s" "string1" or, if you want to add a newline: printf "%s-n" "string1" cat File1 I presume you want to ***input*** the data into lynx as...
can't you use 'mail' or 'mutt'? $ man mail $ man mailx $ man mutt Enrique Perez-Terron } The oldest Unix email I know of used this syntax to send mail: } } } but it actually invokes "sendmail" to do the delivery. Configuring } sendmail is **dificult**. Postfix is somewhat easier. Most systems } come with sendmail already installed. } } The trouble is that the standard sendmail config supposes that your } computer is a first-clbutt citizen of the Internet, with it's own } properly registered dns hostname. Then sendmail would use DNS to } figure out what computer to relay the mail to for the given recipient } address. } ...etc...BIG explanation. } } Andrew Preater } A simple mailer such as ssmtp would do this trick. It's } sendmail-compliant so you can use it with mutt et al., all it } does it send mail through to your smarthost which could be your } ISPs server or another machine on your network. It can rewrite } the From and envelope for you too, but you might as well do that } in mutt. } ...... } IIRC pine can do this. But then you'd be using pine (aaargh!) } rather than mutt. Yea well I don't want to install ssmtp or other stuff. That's how bloat spreads. "mail" apparently calls 'sendmail' - a monster AFAIK ? I don't need another layer of crap. Perhaps I'll use pine. But since lynx can do it 'manually' please remind me of the bash syntax for: 1. 'output char("x") as if in CLI' 2. 'output string("string1") as if in CLI' 3. 'output text of File1 as if in CLI' Then I can just make some templates to combine with the 'getHttp-to-file' which lynx does so well already. Thanks for any input, TRY IT TO BELIEVE IT Earn money without estress! MAKE UNLIMITED MONEY USING PAYPAL!!! $6.00 ONE TIME FEE!!! Can you really make money so easily? I thought it was impossible. Just read this. I don't even have... == chris Glur.
|
||||
Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||