<s> from django . core . mail . backends . smtp import EmailBackend <EOL> from django . core . mail import get_connection <EOL> from django . conf import settings <EOL> class JumoEmailBackend ( EmailBackend ) : <EOL> def send_messages ( self , email_messages ) : <EOL> for msg in email_messages : <EOL> super ( JumoEmailBackend , self ) . send_messages ( [ msg ] ) <EOL> def send ( self , msg ) : <EOL> super ( JumoEmailBackend , self ) . send_messages ( [ msg ] ) </s>
