Code Explainers

Code explainers tagged #email

python
import smtplib
from email.message import EmailMessage
from threading import Thread
 

Sending welcome emails off the request thread in Flask

background-threads app-context email
Intermediate 8 steps
php
<?php
 
function parseMultipartEmail(string $raw): array
{

Parsing multipart emails with mailparse

mime-parsing email encoding
Intermediate 9 steps
php
<?php
 
namespace App\Notifications;
 

How a queued weekly digest email works in Laravel

notifications queues email
Intermediate 7 steps
python
from django.conf import settings
from django.contrib.auth import get_user_model
from django.core.mail import EmailMultiAlternatives
from django.db.models.signals import post_save

Sending a welcome email with Django signals

signals email user-activation
Intermediate 8 steps