Discussion on:
View:
Show:
Instead of MAIL, use Rebol Core which has built-in email capability and is around 300K. Just `at rebol noticeemailscript.r`
AT and MAIL seem very straight forward as set forth. But the question always comes up... How do I use AT and MAIL to send e-mails with attachments and without any user interaction. For example, What if I want to send a copy of a specific file on the server at 5:00 every day without having to do more then request the AT job to be done. Perhaps Chron jobs would even be more appropriate
Jason
Jason
Anything other than text shouldn't be emailed without a special reason. Intead, use a protocol designed for file transfer, like FTP or SCP.
The easy way is to send the file as the body of the message. I use sendmail, I'm believe mail works with similar syntax: sendmail user@there.com thefile
If this doesn't serve your purpose, you need to wrap mime headers around the file, then use the same syntax as above. Details about constructing mime headers can easily be found on doing a google search.
If this doesn't serve your purpose, you need to wrap mime headers around the file, then use the same syntax as above. Details about constructing mime headers can easily be found on doing a google search.
- Keyboard Shortcuts:
- Prev
- Next
- Toggle

































