Hello,
I was happy to see a new edition of your plugin but unfortunately, the mail function does not want to work on my hosting.
It's a windows hosting in php4 and I need this plugin http://www.callum-macdonald.com/code/wp-mail-smtp/ to make the Wordpress mail function working . It worked on the same host in Linux hosting.
There is a small addition needed to wp-db-backup for wp-mail-smtp settings to be honored. I found this by comparing the code in pluggable.php's wp_mail function with the code in wp-db-backup to send email.
On line 931, there is this statement: $result = @$phpmailer->Send();
It needs one line added above it, like this: do_action_ref_array( 'phpmailer_init', array( &$phpmailer ) );
$result = @$phpmailer->Send();
I'd like to see that added to the official codebase, but it's an easy mod even for a beginner.
I have several identical wp installations (2.7) on the same server (Linux) using the same database.
At first they were all able to send the backup via email. But for some strange reason some of them have stopped sending anything. While others are still sending perfectly.
Since the blogs not sending any backup via email are also having problems sending ohter mails - I assume that there is nothing wrong with this fabulous backup plugin. So I've tried to use the WP-Mail-SMTP plugin and it solves the problem with Wordpress sending notification mails.
But still it does not send the backup mails. And as far as I understand it should support the WP-Mail-SMTP plugin?
What could be the problem?
Hello,
I was happy to see a new edition of your plugin but unfortunately, the mail function does not want to work on my hosting.
It's a windows hosting in php4 and I need this plugin http://www.callum-macdonald.com/code/wp-mail-smtp/ to make the Wordpress mail function working . It worked on the same host in Linux hosting.
Were you using the wp-mail-smtp plugin on the Linux hosting as well?
There is a small addition needed to wp-db-backup for wp-mail-smtp settings to be honored. I found this by comparing the code in pluggable.php's wp_mail function with the code in wp-db-backup to send email.
On line 931, there is this statement:
$result = @$phpmailer->Send();
It needs one line added above it, like this:
do_action_ref_array( 'phpmailer_init', array( &$phpmailer ) );
$result = @$phpmailer->Send();
I'd like to see that added to the official codebase, but it's an easy mod even for a beginner.
Bret
Okay, I've added it to the trunk version of the plugin.
The last version of the plugin works nice ! I should take a look here :-)
Thank you for this correction.
And sorry I did not answer your question... (I did not use wp-mail-smtp in the Linux hosting).
I have several identical wp installations (2.7) on the same server (Linux) using the same database.
At first they were all able to send the backup via email. But for some strange reason some of them have stopped sending anything. While others are still sending perfectly.
Since the blogs not sending any backup via email are also having problems sending ohter mails - I assume that there is nothing wrong with this fabulous backup plugin. So I've tried to use the WP-Mail-SMTP plugin and it solves the problem with Wordpress sending notification mails.
But still it does not send the backup mails. And as far as I understand it should support the WP-Mail-SMTP plugin?
What could be the problem?
Yes, the current version of WP-DB-Backup should work with the SMTP plugin.
webalf, your problem may have to do with cron issues, as discussed here: http://www.ilfilosofo.com/forum/topic/3394
RSS feed for this topic
Reply
You must log in to post.