[support] backup migrate - no email

Jo (Drupal Acct) drupal at pinbrook.net
Wed Aug 4 11:15:28 UTC 2010


  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/destinations.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 at domain.net

Thanks in advance
Jo


More information about the support mailing list