i want to send multiple emails in a view. what i need is, that view sends the responcse back and send emails in the background.
when i run
return EmailMultiAlternatives(subject,
t,
sender,
recipients,
bcc=bcc).send()
the view does not send the response until it sends an email or two or whatever.
i want to ask why
yield EmailMultiAlternatives(subject,
t,
sender,
recipients,
bcc=bcc).send()
instruction not send my email?? why yield is not behaving like i want it to?