how to send a form that the user has filled in to my email with python kivy?

Asked

Viewed 33 times

0

My goal is that the form filled by the user send me an email with the fields filled, when the user click 'complete registration'

My file.py

class Cadastro(Screen):
    def pop(self):
    box = BoxLayout(orientation='vertical', padding=10)
    botoes = BoxLayout()

    pops = Popup(title='Concluido', content=box, size_hint=(None, None), size=(200, 100), 
                  auto_dismiss=False)

    ok = Button(text='Enviar', on_press=pops.dismiss)

    botoes.add_widget(ok)

    box.add_widget(botoes)

    pops.open()

part of my file . Kv:

Button:
    text: 'Concluir Cadastro'
    size_hint: .2, .1
    pos:500 , 2
    background_color:0,0,255,0
    on_press: root.pop()

Gratitude if someone can give me a help :)

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.