View Single Post
Old 11-30-2012, 01:51 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,662
Thanks: 4
Thanked 2,452 Times in 2,421 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
\r\n is used in email to dictate header separations. Body should use only \n. Try removing \r\n and using just \n.
You don't need to email this text though like this. This may cause problems between html versus plaintext view. Write the data to a file, then email the file as an attachment.
Check if you have cron though, if you can crontab the backup, you are much better off using mysqldump for the export.
Fou-Lu is offline   Reply With Quote
Users who have thanked Fou-Lu for this post:
Junsee (11-30-2012)