Hi folks,
currently we're using the following ways to send emails using sendmail (mail command):
-> This way we're able to send a mail containing Subject and Body Text ...
-> This way we're able to send a mail containing Subject and File Attachement.
However so far we've been unable to combine these two ways so that we're able to send emails containing Body Text as well as (!) File Attachement.
How could this be done ?
Regards,
Thomas
currently we're using the following ways to send emails using sendmail (mail command):
Code:
echo "This is the mail body text" | mail -s "This is the subject" user@target.com
-> This way we're able to send a mail containing Subject and Body Text ...
Code:
uuencode Attachement.txt < somecontent.txt > mail.att
mail -s "Subject" user@target.com < mail.att
-> This way we're able to send a mail containing Subject and File Attachement.
However so far we've been unable to combine these two ways so that we're able to send emails containing Body Text as well as (!) File Attachement.
How could this be done ?
Regards,
Thomas