from django.template import loader, Context from django.core.mail import send_mail t = loader.get_template('registration/email.txt') c = Context({ 'name': request.POST.get('name'), 'username': request.POST.get('username'), 'product_name': 'Your Product Name', 'product_url': 'http://www.yourproject.com/', 'login_url': 'http://www.yourproject.com/login/', }) send_mail('Welcome to My Project', t.render(c), 'from@address.com', ['user@adderss.com',], fail_silently=False) ############################################################## Sample Template for the above: registration/email.txt ############################################################## Dear {{ name }}, Thank you for signing up with {{ product_name }}. Your new username is {{ username }}, and you can login at {{ login_url }}. Once logged in, you'll be able to access more features on our website.. We hope that {{ product_name }} is of good use to you. If you have any feedback, please respond to this e-mail or submit it to us via our website. Regards, {{ product_name }} Administration {{ product_url }}