I\'ve created a script that runs every night on my Linux server that uses mysqldump to back up each of my MySQL databases to .sql files and packages them togeth
mysqldump
If the file is text, you can send it easiest in the body as:
sendmail recipient@example.com < message.txt