I haven't worked with backup migrate, but as a troubleshooting step you could temporarily hard code the variables. Make a copy of the function send() code block and comment it out, so you have the correct code to put back when you finish. Change this: mail($this->to, $this->subject, "", $mime); To this: mail("prefix@domain.net", "Test Email", "Test Body"); (I removed the 4th parameter) If it still doesn't work, you need to look into your mail configuration. ------------------------------------- If the email is sent, work your way back through the parameters until you find the one that's causing the problem. mail("prefix@domain.net", "Test Email", ""); Still works? Try this: mail("prefix@domain.net", $this->subject, ""); Still works? Try this: mail($this->to, $this->subject, ""); Still works? Try this: mail($this->to, $this->subject, "", $mime); When one fails follow it back into the prior code and try the same process. Good Luck, Joe -----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Jo (Drupal Acct) Sent: Wednesday, August 04, 2010 7:15 AM To: support@drupal.org Subject: [support] backup migrate - no email Hi I am using the backup migrate tool to backup my database, however i get the following error ********warning: mail() [function.mail]: Bad parameters to mail() function, mail not sent. in /home/hsphere/local/home/xxxx/xxxx.net/modules/backup_migrate/includes/desti nations.email.inc on line 139. ********** so i go the inc file and find the following *********function send() { $mime = ""; if (!empty($this->from)) $mime .= "From: ". $this->from ."\n"; if (!empty($this->headers)) $mime .= $this->headers ."\n"; if (!empty($this->body)) $this->add_attachment($this->body, "", "text/plain"); $mime .= "MIME-Version: 1.0\n". $this->build_multipart(); mail($this->to, $this->subject, "", $mime); }*********** can anyone help me with what i need to change to get an email to prefix@domain.net Thanks in advance Jo -- [ Drupal support list | http://lists.drupal.org/ ]