Greetings,
Does anyone know what are the required fields to have Django send emails when a \"500 Internal Server Error\" happend? I am hosting my project on Dreamhost an
Yes, I am, same on dreamhost, but I am using gmail to send email like following sample code
import smtplib m = smtplib.SMTP("smtp.gmail.com", 587) m.ehlo() m.starttls() m.ehlo() m.login(USERNAME, PASSWD) m.sendmail(user, to, "From: %s\nTo: %s\n\nHello World!"%(USERNAME,TOADDR)) m.close()