No email after update

Try editing the path to swift_required.php in emoncms/Lib/email.php line 16 from

to read

    $this->have_swift = @include_once ("swift_required.php");

See Could not find SwiftMailer for more info, However I can’t guess why it would suddenly stop working unless a previous edit was lost during an update or git stash etc.

This has come up several times, personally I’m surprised it doesn’t come up more often, but the fact it doesn’t makes me wary of submitting a fix to the repo.