Skip to content

Commit 6baf0c2

Browse files
authored
Update README.md - semail
1 parent 0ba5865 commit 6baf0c2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@ Django poll app is a full featured polling app. You have to register in this app
2929
<code>seeder.seed_all(30)</code>
3030
<p>Here 30 is a number of entry. You can use it as your own</p>
3131

32+
## Configure Email - Poll Owner receives Email when vote is cast by user
33+
34+
- Get your smtp host details and replace following values in your `settings.py`
35+
36+
```text
37+
# Configure email settings
38+
EMAIL_HOST = '<your smtp host>'
39+
EMAIL_PORT = '<smtp port>'
40+
EMAIL_HOST_USER = '<smtp host user>'
41+
EMAIL_HOST_PASSWORD = '<smtp host pass>'
42+
DEFAULT_FROM_EMAIL = '<from email address>'
43+
```
3244
<h2> Configuring OAuth login </h2>
3345
<details>
3446
<summary>Obtaining OAuth Client ID for Google</summary>

0 commit comments

Comments
 (0)