Home > other >  Excuse me, how from the signal sent E-mail
Excuse me, how from the signal sent E-mail

Time:04-01

 
Send_email_signal=django. Dispatch. Signal (
Providing_args=[' emailto ', 'title', 'content'])


 def send_email (emailto, title, content) : 
The from djangoProject4. Blog_signals import send_email_signal
Send_email_signal. Send (
Send_email. Magic __class__,
Emailto=emailto,
Title=the title,
The content=content)



 send_email (
Emailto=[
The user email,
],
Title='verify your email,
The content=content)



Could you tell me why the user to save, but why hasn't the mail sent out?
  • Related