Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I choose an "Email" as a backup destination, I get an email, but it has no attachment.
I am using GMail.
Comments
Comment #1
Vako CreditAttribution: Vako commentedGmail has the 'habit' of stripping attachments. Please use a different email at least for testing this option.
Comment #2
Mavros Gatos CreditAttribution: Mavros Gatos commentedI tried Yahoo: the same problem.
Comment #3
ronan CreditAttribution: ronan commentedDo you have access to a non-free email option? It seems quite possible that Yahoo has similar policies on this as gmail.
Comment #5
somimi CreditAttribution: somimi commentedI'd like to chime in on this issue - having the same problem in the current (6.x-2.x) dev version of Backup_Migrate. Not only does the email send with no attachment (which is an improvement from when I had v2.4 installed, which sent no emails at all), but in order for it to send at all, I had to change line 138 in includes/destinations.email.inc from
mail($this->to, $this->subject, "", $mime);
to
mail($this->to, $this->subject, "", "");
- effectively stripping out the mime info. And I've sent it to Gmail as well as my own site's email address via FatCow's webMail. Neither show an attachment in the email.
I've read most, if not all, of the other threads surrounding this issue, and nothing seems resolved, at least for my issue. I know you mentioned this not being a priority since you don't use it yourself, ronan, but as I also can't get the FTP option to work (another issue ticket in the making), this is my next best alternative to have backups outside of the site server. If anyone can help troubleshoot this issue, I'd be eternally grateful!
The setup:
Comment #6
couturier CreditAttribution: couturier as a volunteer commentedDrupal 6 and Backup and Migrate 6 are no longer supported.