Beispiel #1
0
 def send_email(self):
     text_email = self.root.ids.text_bug.text
     subject_email = self.root.ids.subject_bug.text
     email.send(recipient="*****@*****.**",
                subject=subject_email,
                text=text_email,
                create_chooser=False)
 def on_ref(self, value):
     """ Handle clicks on links. """
     if value == 'privacy':
         self.manager.show_privacy_policy()
     elif value.startswith('mailto:'):
         recipient = value[7:]
         details = get_app_details()
         email.send(recipient=recipient, subject=f"{details['appname']}: Circle Task", create_chooser=True)
Beispiel #3
0
 def enviar_db(self,chave,legenda):
     corpo_do_email = MenuApp().coletar_dados(chave,legenda)
     if corpo_do_email == None:
         popup = Popup(title='Aviso', content=Label(text='Nao Existem Dados a Enviar'),
                       auto_dismiss=True, size_hint=(1, .5))
         popup.open()
     else:
         email.send(recipient="*****@*****.**",
                    subject=chave, text=corpo_do_email, create_chooser=False)
Beispiel #4
0
 def exportDB(self):
     con = sqlite3.connect('database.sqlite3')
     dump = ""
     for line in con.iterdump():
         dump += line + "\n"
     print(dump)
     email.send(recipient="*****@*****.**",
                subject="GerenciadorPedidosAPP_BD_dump",
                text=dump)
Beispiel #5
0
 def open_link(self, url):
     url = url.strip('"')
     if url.startswith('https://'):
         webbrowser.open_new(url)
     elif url.startswith('mailto:'):
         recipient = url[7:]
         details = get_app_details()
         email.send(recipient=recipient,
                    subject=f"{details['appname']}",
                    create_chooser=True)
Beispiel #6
0
    def save(self):
        output = "["
        for node in self.nodes:
            output += json.dumps(node)
            if node["id"] < self.nodesnum - 1:
                output += ", "
        output += "]"

        #Logger.info("Application: " + output)

        email.send(recipient="*****@*****.**", text=output)
Beispiel #7
0
 def __send_email_via_ext_app(self):
     """
     Send Email message screen - Connection is available
     :return:
     """
     try:
         email.send(recipient='*****@*****.**', subject='Galaxyrun demo feedback', text='Your message from App here: ')
         self.__activate_menu(None)
     except:
         print '!!! Cannot send an EMAIL - unknow reason !!!'
         self.__activate_no_connection_screen()
Beispiel #8
0
 def send_email(self, *args):
     email.send(recipient=self.email_recipient,
                subject=self.email_subject,
                text=self.email_text,
                create_chooser=self.create_chooser)
Beispiel #9
0
 def send_email(self, *args):
     email.send(recipient=self.email_recipient,
                subject=self.email_subject,
                text=self.email_text,
                create_chooser=self.create_chooser)