Thanks for you quick response. I have check and i can send mails through my command line. My issue is i have and entire link starting example The UNIX and Linux Forums - Learn UNIX and Linux from Experts some thing like this. I tried to replace ur code on index.html with my url and it failed with an error egrep: can't opn the link specified.
This is why it's always helpful to know what your system is.
Doesn't seem to work? What, exactly, does it do? It's "python", by the way, check your spelling in the script too.
No netspeak, please.
Some versions of ksh allow you to create a network socket but this would be a very hackish and breakage-prone way to do it. You should try and get the right tool for the job.
i don't have experience of AIX. but python is not a standard package of AIX?
btw, @bankimmehta, if you say "python doesn't seem to work", what is the output then?
The same problem as raw sockets in the shell -- there's more to HTTP than "GET /". What if it decides to send it to you in an alien character set, or in several sections? Utilities like wget, or a well-crafted perl module, could be expected to handle that but it'd be a mountain of code to write and test for a one-off shell script.