Re: hello i need a help

2021-07-06 Thread Richard Dushime
thank you but i wanted to send all the 4 fields and the "to" arguments how can i do it? .. its submission form data i tried to loook into the documentation everywhere they used 3 fields only On Mon, Jul 5, 2021 at 10:04 PM sum abiut wrote: > The error message is very clear send_mass_mail only e

Re: hello i need a help

2021-07-05 Thread sum abiut
The error message is very clear send_mass_mail only expect 4 values but you are passing in more than four. You should only pass in four values. datatuple = ( ('f_subject', 'f_message','f_email', ['mygm...@gmail.com']), # second person ('f_subject', 'f_message','f_email', ['sec...@gmail.com']) )

hello i need a help

2021-07-05 Thread Richard Dushime
i am getting this error down when trying to submit my form data to email {{ ValueError at /contact too many values to unpack (expected 4) Request Method: POST Request URL: http://localhost:8000/contact Django Version: 3.2.4 Exception Type: ValueError Exception Value: too many values to unpack