6 sm = gammu.StateMachine();
13 folders = sm.GetSMSFolders()
16 for i in range(0, len(folders)):
18 if f['Inbox']: continue
19 if f['Memory'] != 'ME': continue
26 'Text': ('post-pizza: '+msg),
27 'SMSC': { 'Location': 1 },
31 'Coding': 'Default_No_Compression',
37 (fol,loc) = sm.AddSMS(message)
41 sm.SendSavedSMS(fol,loc)