-
Notifications
You must be signed in to change notification settings - Fork 1
malexmave/attmail
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Attmail - Send Mails from Shell with attachments using sendmail. Parameters: attmail [From] [To] [Subject] [Body] [Attachment1] [Attachment2] ... [AttachmentX] attmail supports full file paths and parameters passed via xarg, it is, however, largely untested. Use it at your own risk and always check that it is working correctly before using it for something important. Depends on the following applications to be installed and working: - sendmail (Part of a larger Package) - Some system tools like "file", which every distro should have. I am aware of the fact that sendmail isn't ideal, but it was the only application available on the webserver I wrote this code for. Loosely based on Code from the following Site: http://www.unix.com/aix/177948-how-send-attachment-using-sendmail-command-without-uuencode-command.html (Sendmail-Code) Notice about commented Code: For your convenience, I left some snippets of debug code in this version. If you encounter any problems, feel free to try to debug using the proposed "echo" commands, and any additional means you see fit to use ;-) License: Use this code as you see fit. I can not be held liable for any damaged to anything, including clawed out eyes when reading my code. If you use this code, feel free to leave a note at blog.velcommuta.de/2012/coding-project-of-the-day-attmail/ You are allowed to do anything with this code, including commercial use and editing it to lessen the burden on your eyes. Please leave a note about the original author, though.
About
Send mails with attachments using sendmail on Linux
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published