
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
DjangoAsyncMail
Advanced tools
DjangoAsyncMail is a Django app to send email asynchronously. This is a light-weight app using only Python threading for sending emails. It is meant for casual emails, like sending account activation mail from your website when account activation is optional.
Detailed documentation is in this post.
Add "DjangoAsyncMail" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
'DjangoAsyncMail',
]
Remember to add EMAIL_HOST_USER segment is your main Django project settings like this
# SMTP Mail Settings
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.yourdomainname.com'
EMAIL_USE_TLS = False
EMAIL_PORT = 587
EMAIL_HOST_USER = 'noreply@yourdomainname.com'
EMAIL_HOST_PASSWORD = 'your_email_password'
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
Import and call the send_html_mail function with variables wherever you need like this
from DjangoAsyncMail.mail import send_html_mail
send_html_mail(subject,email_body,recipient_list,reply_to)
Example:
send_html_mail('Testing','Test HTML Content',['example@example.com'],['noreply@yourdomainname.com'])
Check email delivery in Recipient's mailbox.
FAQs
A Django app to send email asynchronously
We found that DjangoAsyncMail demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.