Send email attachment using a shell script

Mostafa Z. Afgani mostafa.afgani at world.iu-bremen.de
Thu Jul 14 10:17:32 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hany Nagaty wrote:
> Hi all,
> 
> I'd like to send an email containing an attachmnet using a script.
> I've tried the mail command (in the mailx package), but I don't know
> how can I use it to send an attachment.
> 
> So, is there a way I can use mail to send an attachment, or is there
> other utility to do the job.
> 

Try mutt. If it's not installed, install it and then have a look at the
man page to see the command to attach files.

Best,
- -M


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFC1ju8uOU3CtaQcGQRAjSdAKDjhgfg5w1ZCxxy7sERdZUcDuG6kwCgkApM
jtlDH7tVcJvtce/3f1/zm2I=
=+RTZ
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list