Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2001 13:44:54 -0700 (MST)
From:      "Joe Loughry" <loughry@qwest.net>
To:        freebsd-questions@freebsd.org, i.scheming@d.kamp.net
Subject:   Re: E-mail with attachment
Message-ID:  <200101172044.NAA13024@miranda.dnvr.uswest.net>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The following command will send a file as an attachment, but I don't know
how to send a regular email message (e.g., a text greeting) ALONG WITH an
attachment, from the command line.  The previous suggestion (use mutt) is
a good one.

This is what I use to email arbitrary files:

uuencode filename repeat-the-filename-here | mail -s "subject" recipent-name

You have to give the filename to uuencode TWICE.  Since I don't know of any
way to include text in the resulting email, I usually put that in the subject
instead.

Hope this helps.

- -Joe

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBOmYERtmomnkMQVDQEQLKFwCfUfQXbtKey9VUr8M0kMK9MJZVWVYAoIDk
hwYViFmob5WBX492K0xfDSos
=VXUJ
-----END PGP SIGNATURE-----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101172044.NAA13024>