Skip to content

server should catch OverQuotaError #27

Description

@catherinettt

try:
mail.SendMessage(to='test@example.com',
from='admin@example.com',
subject='Test Email',
body='Testing')
except apiproxy_errors.OverQuotaError, message:

Log the error.

logging.error(message)

Display an informative message to the user.

self.response.out.write('The email could not be sent. '
'Please try again later.')

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions