Hey,
I am trying to create tuple but not able to do it.
here is my code:
datatuple =()
for emailadd in mailing_list:
datatuple((subject, message, sender, [emailadd]))
send_mass_mail(datatuple)
basically it should be in this format:
datatuple = (
('Subject', 'Message.', 'from@example.com', ),
('Subject', 'Message.', 'from@example.com', ),
)
so here my subject,message and sender are not changing only last field is changin.
So i wanted to know how can I implement this
Thanks