[Answer]-What is from_email used in django.core.mail.send_email used for

1👍

The from field is required in email headers

Here is an example of a full email header:

Return-Path: 
X-SpamCatcher-Score: 1 [X]
Received: from [xx.xx.xx.xx] (HELO example.com)
Message-ID: <>
Date: 
From: 
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: 
Subject: blah blah
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

You can readup more here

0👍

If you want to know the form’s submitter’s email adress if they supply it and you are using your own email as a from email, of course you will have to append it to the message text that YOU receive. If you want the submitter to receive a copy of their message, just mail them a different version. So essentially have one version for the site maintainer and another one for the form submitter.

Hope that covers the question, I had to guess a bit.

Leave a comment