•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 427,179 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,275 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser: Programming Forums
Views: 44314 | Replies: 1
![]() |
•
•
Join Date: Feb 2005
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Hi,
You don't need to write shell script for this one. You can do it in command line itself.
echo "This is mail body" | mail -s "This is subject" mail_ID@somedomain.com
Or
cat mail_body_file.txt | mail -s "This is subject" mail_ID@somedomain.com
You don't need to write shell script for this one. You can do it in command line itself.
echo "This is mail body" | mail -s "This is subject" mail_ID@somedomain.com
Or
cat mail_body_file.txt | mail -s "This is subject" mail_ID@somedomain.com
![]() |
•
•
•
•
•
•
•
•
DaniWeb Shell Scripting Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Sending email from a shell script (Shell Scripting)
- send mail after script finishes running (Shell Scripting)
- Need a shell script for rsync (Shell Scripting)
- Shell Script for Load monitoring! (Shell Scripting)
- HElP script for send mail (Shell Scripting)
- Help "sell script to send a mail" (Shell Scripting)
Other Threads in the Shell Scripting Forum
- Previous Thread: script for search SUID/GUID !
- Next Thread: Some help with "downloading" links


Linear Mode