Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1193
  • Last Modified:

send lynx output as a email body using sendmail

I want to send lynx output as a email body from command line using sendmail command.

I want to send this output via mail

  lynx http://192.168.5.6/index.html
0
rajasekarramasamy
Asked:
rajasekarramasamy
1 Solution
 
liddlerCommented:
lynx is a bit interactive for grabbing and passing to mail, so it might be better to use curl or wget

something like:

wget -O - http://192.168.5.6/index.html |mail me@email.com

Or do you specifically need lynx output?
0
 
rajasekarramasamyAuthor Commented:
Your solution is working fine. Thank you.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now