I want to write a script that will email a file to an external email address. I'm relatively new to UNIX, but I have a strong programming background. If anyone has any suggestions, it would be very appreciated.
Firstly, is your mail service configured to send external mail and have you read the man pages for mail and sendmail?
[sig]<p>Ged Jones<br><a href=mailto:gedejones@hotmail.com>gedejones@hotmail.com</a><br><a href= > </a><br>Top man[/sig]
If you need a bit more info on shell scripts just shout. [sig]<p>Ged Jones<br><a href=mailto:gedejones@hotmail.com>gedejones@hotmail.com</a><br><a href= > </a><br>Top man[/sig]
But I want to attach a text file. I don't want the file to be the message, I want to send the text file as an attachment. How would I go about doing this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.