ansivirus
01-31-2001, 05:29 PM
using the mail command how would i add an attachment? or better yet is there a program that will let me add an attachment?
-ansivirus
-ansivirus
|
Click to See Complete Forum and Search --> : sending attachments in command line ansivirus 01-31-2001, 05:29 PM using the mail command how would i add an attachment? or better yet is there a program that will let me add an attachment? -ansivirus JAdrock 01-31-2001, 06:21 PM I think it's something to the tune of... mail user@domain.com > /path/to/file you might want to double check that klamath 01-31-2001, 06:32 PM Well, this would sort of work: mail foo@bar < file (Note the less than, not the greater than, sign). But it won't be an attachment (i.e. using MIME), it will just stick the file's text in the email. For a proper attachment, you may need to hack up a quick Perl script. ------------------ - Klamath Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc) Looking for an open source project to contribute to? Check out the Tornado HTTP Server (http://sourceforge.net/projects/tornado) justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |