On 24/03/2023 05.16, bing wrote:
> I am using the email module in Django to inform of users with their
> registration. Sometimes it can send email successfully, but more often,
> it fails. I searched for many solutions, but did not change this situation.
That is not really related to Django but more related to your email
provider (or SMTP server).
It seems like you're using some Chinese email provider (139.com) and I
have no idea what their reputation is, but it is completely up to the
receiver of the email (or their email provider) whether they want to
accept the email or not. If they don't it will most often just fail
silently as you experience.
Not much to do about that. That's just how SMTP (email) has been
designed (or not) back in the days.
You could try using another provider or setting up your own SMTP server
(which is far from trivial to do and maintain).
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/848e8e93-b12e-4f7b-ae40-fff34f4e9de6%40stacktrace.dk.