Django - From Email's Name
The from_email address parameter of django.core.mail.send_mail and mailer.send_mail (https://github.com/pinax/django-mailer) can be in these forms:
1. 'trinh@example.com'
2. 'Trinh Nguyen <trinh@example.com>'
send_mail(subject, message, from_email, recipient_list, fail_silently=False, auth_user=None, auth_password=None, connection=None, html_message=None)
1. 'trinh@example.com'
2. 'Trinh Nguyen <trinh@example.com>'
send_mail(subject, message, from_email, recipient_list, fail_silently=False, auth_user=None, auth_password=None, connection=None, html_message=None)
Comments
Post a Comment