Hi Dear all,
I'm doing some scripts to automaticly deliver to some email accounts 
Unix system printouts. I'm using sendmail on Freebsd 4.9 and the mail 
tool to send my emails. What I would like to know is: is it possible 
to send emails with files attached using the sendmail and the mail 
tool? Which syntax should I aply to send an attached file in the 
message?

I would appreciate your help.

P.S: I' using this syntax so far for sending emails

mail -s "Automatic Message" [EMAIL PROTECTED] <<E_O_M
The contents of the message goes here.

E_O_M

or to pipe stuff directly into sendmail:

/usr/sbin/sendmail -t -oi -oem <<E_O_M
To: [EMAIL PROTECTED]
Subject: Automatic Message

The contents of the message goes here.

As much as you like, really.

E_O_M


Regards,
Carla
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to