• Great plugin – so thanks to its creators.

    One small issue so far through – namely that no email is sent ( or at least received) when archive is too big to be sent.

    The email adddress I am using is the same as that used in another Job that just backs up the database and it works there – so I know it’s a good address.

    The tick box (only send on error) doesn;t seem to make any difference in this case.

    Has anyone else seen this? Is there a workaround yet?

    Regards,

    James

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jsavage

    (@jsavage)

    Ok, whilst I haven’t been able to prove why emails are not sent I beleive it may be because in the __destruct() method, the sending of the log file is done using wp_send and not the phpmailer method as used in destination_mail(). So I have patched my version of backwpup_dojob.php as shown below. This now works for me and copies me with a second email containing a hyperlink to the log file. There is one string constant for the path to the log file. The existing fn for log file directory ( $this->logdir.$this->logfile ) does not correctly report the path on my windows-based host but your mileage may vary.

    Hopefully this may be of assistance to others.

    If anyone sees any issues with this please comment accordingly.
    [HUGE chunk of code moderated as per the Forum Rules. Please use the pastebin]

    Thread Starter jsavage

    (@jsavage)

    The code above was truncated so here is the code from the begining of private function destination_dir()
    This is where the changes are…

    [Another huge chunk of code moderated as per the Forum Rules. Please use the pastebin]

    Thread Starter jsavage

    (@jsavage)

    OK not come across pastebin before. If my attempt at embedding below doesn’t work then the pastebin reference is daDEfN2

    <script src=”https://pastebin.com/embed_js.php?i=daDEfN2t”></script&gt;
    IFrame Embedding (you can set the frame height by adding the CSS value ‘height:100px;’ for example)
    <iframe src=”https://pastebin.com/embed_iframe.php?i=daDEfN2t&#8221; style=”border:none;width:100%”></iframe>

    James

    wp_mail function uses som cache featurs i will change it in next version to phpmailer too.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: BackWPup] No email is sent when archive is too big to be sent’ is closed to new replies.