Created
November 7, 2011 23:37
-
-
Save mehdimehdi/1346550 to your computer and use it in GitHub Desktop.
sales form backend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.core.mail import send_mail | |
def sales_form(request): | |
content = request.POST.get("content",None) | |
subject, from_email, to = 'subject', request.POST.get("from",None), ['[email protected]'] | |
send_mail(subject, content, from_email, to) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment