Revision history [back]
Try using this settings:
SERVER_EMAIL = 'youremail@gmail.com'
DEFAULT_FROM_EMAIL = 'youremail@gmail.com'
EMAIL_HOST_USER = 'youremail@gmail.com'
EMAIL_HOST_PASSWORD = 'yourpassword'
EMAIL_SUBJECT_PREFIX = ''
EMAIL_HOST='smtp.gmail.com'
EMAIL_PORT='587' #try also 645
EMAIL_USE_TLS=True
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
After that, restart apache.
I must say that it didn't worked for me, because Gmail sees the login from my server as suspicious and blocks it.
To test, go to /settings/EMAIL/ and put your email address. Then go to the feedback form and send a test message, if you receive the email, it's working, if not, check the logs in /var/log/apache2/error.log