Re: wxPython text overwrite problem... Programming Software Development by snippsat …(self): wx.Frame.__init__(self, None, wx.ID_ANY,"Py-mailer",size=(330,520), style = wx.DEFAULT_DIALOG_STYLE | wx.…Show about window ''' info = wx.AboutDialogInfo() info.Name = "Py-Mailer" info.Version = "version ?" info.Copyright = "… Re: wxPython text overwrite problem... Programming Software Development by sravan953 …(self): wx.Frame.__init__(self, None, wx.ID_ANY,"Py-mailer",size=(330,520), style = wx.DEFAULT_DIALOG_STYLE | wx.…Show about window ''' info = wx.AboutDialogInfo() info.Name = "Py-Mailer" info.Version = "version ?" info.Copyright = "… wxPython text overwrite problem... Programming Software Development by sravan953 …def __init__(self): wx.Frame.__init__(self,None,-1,"Py-mailer",size=(500,700)) try: self.s=smtplib.SMTP("… def About(self,event): about=wx.AboutDialogInfo() about.SetName("Py-Mailer") about.SetCopyright("(c) 2009 Sravan") about.SetWebSite… How to 'refresh' in wxPython? Programming Software Development by sravan953 …): def __init__(self): wx.Frame.__init__(self,None,-1,"Py-mailer",size=(900,700)) self.panel=wx.Panel(self,-1…() def About(self,event): about=wx.AboutDialogInfo() about.SetName("Py-Mailer") about.SetCopyright("(c) 2009 Sravan and Daniel"… Re: wxPython Events help Programming Software Development by sravan953 …def __init__(self): wx.Frame.__init__(self,None,-1,"Py-mailer",size=(500,500)) panel=wx.Panel(self,-1) menubar…,-1,"Failed",pos=(10,200)) about.SetName("Py-Mailer") about.SetCopyright("(c) 2009 Sravan") about… Re: wxPython Events help Programming Software Development by sravan953 …def __init__(self): wx.Frame.__init__(self,None,-1,"Py-mailer",size=(500,700)) self.info={} self.user=""… def About(self,event): about=wx.AboutDialogInfo() about.SetName("Py-Mailer") about.SetCopyright("(c) 2009 Sravan") about.SetWebSite… Re: wxPython Events help Programming Software Development by sravan953 …): def __init__(self): wx.Frame.__init__(self,None,-1,"Py-mailer",size=(500,700)) self.panel=wx.Panel(self,-1…() def About(self,event): about=wx.AboutDialogInfo() about.SetName("Py-Mailer") about.SetCopyright("(c) 2009 Sravan") about.SetWebSite… Re: wxPython Events help Programming Software Development by sravan953 …): def __init__(self): wx.Frame.__init__(self,None,-1,"Py-mailer",size=(500,700)) self.panel=wx.Panel(self,-1…() def About(self,event): about=wx.AboutDialogInfo() about.SetName("Py-Mailer") about.SetCopyright("(c) 2009 Sravan") about.SetWebSite… Re: wxPython Events help Programming Software Development by winmic …def __init__(self): wx.Frame.__init__(self,None,-1,"Py-mailer",size=(500,700)) self.info={} self.user=""…def About(self,event): about=wx.AboutDialogInfo() about.SetName("Py-Mailer") about.SetCopyright("(c) 2009 Sravan") about.SetWebSite… Re: wxPython Events help Programming Software Development by sravan953 …def __init__(self): wx.Frame.__init__(self,None,-1,"Py-mailer",size=(500,700)) self.info={} self.user=""…def About(self,event): about=wx.AboutDialogInfo() about.SetName("Py-Mailer") about.SetCopyright("(c) 2009 Sravan") about.SetWebSite… Re: wxPython Events help Programming Software Development by sravan953 …def __init__(self): wx.Frame.__init__(self,None,-1,"Py-mailer",size=(500,700)) self.info={} self.s=smtplib.SMTP… def About(self,event): about=wx.AboutDialogInfo() about.SetName("Py-Mailer") about.SetCopyright("(c) 2009 Sravan") about.SetWebSite… Re: wxPython Events help Programming Software Development by sravan953 …Documents and Settings\Sravan\My Documents\Sravan\PYTHON\GUI.py", line 64, in <module>… wx.StaticText(panel,-1,"Welcome to Py-mailer.\nLogin with your Gmail credentials and you can…self,event): about=wx.AboutDialogInfo() about.SetName("Py-Mailer") about.SetCopyright("(c) 2009 Sravan"… Re: wxPython Events help Programming Software Development by winmic ….SetMenuBar(menubar) wx.StaticText(self.panel,-1,"Welcome to Py-mailer.\nLogin with your Gmail credentials and you can send a…)) def About(self,event): about=wx.AboutDialogInfo() about.SetName("Py-Mailer") about.SetCopyright("(c) 2009 Sravan") about.SetWebSite… wxPython Events help Programming Software Development by sravan953 Hey guys, I have made a small program called 'Py-mailer' which allows you to login with your Gmail credentials and … Re: wxPython Events help Programming Software Development by sravan953 …;) self.SetMenuBar(menu) wx.StaticText(panel,-1,"Welcome to Py-mailer.\nLogin with your Gmail credentials and you can send a… New program that sends emails Programming Software Development by Dan08 Me and Sravan953 have made a program called Py-Mailer; you all can find it in our first website. Visit [… Re: wxPython Events help Programming Software Development by sravan953 … "C:\Documents and Settings\sravan953\My Documents\Sravan\PYTHON\Py-mailer_GUI.py", line 92, in Send self.s.sendmail(self…,self.to,self.msg) File "C:\Python26\lib\smtplib.py", line 709, in sendmail raise SMTPRecipientsRefused(senderrs) smtplib.SMTPRecipientsRefused… Re: wxPython Events help Programming Software Development by sravan953 …;C:\Documents and Settings\sravan953\My Documents\Sravan\PYTHON\GUI.py", line 85, in Send msg="To: "+to… Re: wxPython Events help Programming Software Development by Stefano Mtangoo … do I solve this?[/QUOTE] Do you you code setup.py by yourself? If yes, Andrea Gavana have saved you alot… phpmailer smtp error Programming Web Development by AARTI SHRIVAS … this error The following From address failed: mona18shri@gmail.com Mailer Error: The following From address failed: mona18shri@gmail.com SMTP… 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 d17sm9100541obu.0 - gsmtp what can i do for… Re: PHPmailer noob Programming Web Development by LastMitch … the error SMTP Error: Could not connect to SMTP host. Mailer Error: SMTP Error: Could not connect to SMTP host. Did… the SMTP4 server?** http://support.google.com/mail/bin/answer.py?hl=en&answer=78775 Re: how do i send mail using gmails server with php? Programming Web Development by GreenDay2001 … SMTP settings: [url]http://mail.google.com/support/bin/answer.py?hl=en&answer=13287[/url] A simple search on… Re: how do i send mail using gmails server with php? Programming Web Development by GreenDay2001 … it!! [URL="http://mail.google.com/support/bin/answer.py?answer=78799"]Gmail supports supports IMAP[/URL], so no… Re: php mail send Programming Web Development by suresh.chaudhari.75 …; if(!$mail->Send()) { echo 'Message was not sent.'; echo 'Mailer error: ' . $mail->ErrorInfo; } else { echo"<script>… Re: wxPython text overwrite problem... Programming Software Development by jlm699 How about instead of just generating an arbitrary StaticText object, assign it to a persistent member of your class (let's call it [ICODE]self.login_status_text[/ICODE]). Then instead of generating it each time, simply update the contents to the proper string (It's been years since messing with wxPython but if I remember correctly you might want … Re: wxPython text overwrite problem... Programming Software Development by snippsat You can set size so the text get overwrite. And som color look better. [CODE] try: self.s.login(self.user,self.passw) wx.StaticText(self.panel,-1,"Logged in...",pos=(10,200),size = (150,20)).SetForegroundColour('blue') except: wx.StaticText(self.panel,-1,"Failed",pos=(10,200),size = (150,20)).… Re: wxPython text overwrite problem... Programming Software Development by sravan953 [QUOTE=snippsat;1028836]You can set size so the text get overwrite. And som color look better. [CODE] try: self.s.login(self.user,self.passw) wx.StaticText(self.panel,-1,"Logged in...",pos=(10,200),size = (150,20)).SetForegroundColour('blue') except: wx.StaticText(self.panel,-1,"Failed",pos=(10,200),… Re: wxPython text overwrite problem... Programming Software Development by sravan953 [QUOTE=jlm699;1028817]How about instead of just generating an arbitrary StaticText object, assign it to a persistent member of your class (let's call it [ICODE]self.login_status_text[/ICODE]). Then instead of generating it each time, simply update the contents to the proper string (It's been years since messing with wxPython but if I remember … Re: wxPython text overwrite problem... Programming Software Development by snippsat [QUOTE]How did you make those images? [/QUOTE] Du you mean the Attached Thumbnails? Thats just screenshot capture with free program jing. [url]http://www.jingproject.com/[/url] Re: wxPython text overwrite problem... Programming Software Development by pythopian Note that the way you use try/except is not very wise. [CODE] try: self.s.sendmail(self.user,self.to,self.msg) wx.StaticText(self.panel,-1,"Mail send successfully",pos = (120,435)).SetForegroundColour('blue') self.s.quit() except: wx.StaticText(self.panel,-1,&…