It's possible, but in django 1.6, quote from documentation:
By setting the email_backend argument of AdminEmailHandler, the email backend that is being used by the handler can be overridden, like this:
'handlers': {
'mail_admins': {
'level': 'ERROR',
'class': 'django.utils.log.AdminEmailHandler',
'email_backend': 'django.core.mail.backends.filebased.EmailBackend',
}
},
If you don't want to upgrade (since 1.6 is not stable, for example), consider making a custom email handler based on AdminEmailHandler. Should not be hard, because the actual implementation of this new feature is pretty straight-forward and clean (see pull-request).
Or, you can actually extract the whole AdminEmailHandler
class from the django 1.6 and use it as a custom email handler.