(user_mail, ','.join(recipient), mail.as_string())
The above code produces error of expected string but tuple found. How should I fix this? Any solution?
(user_mail, ','.join(recipient), mail.as_string())
The above code produces error of expected string but tuple found. How should I fix this? Any solution?
You must specify recipients in a string . Below is an example you can specify recipients like this.
user_email = "someone@example.com"
recipients = ["email1, email2, email3"]