Need a script "Send after receive" [SaferSurf.com Status: eMail virus free]
Hello all, I have a small little problem with one of my eMail-servers, which still requires the "send after receive" method of secure identification, and it doesn't look as if that will be changed soon. All my other servers do not need that anymore. I like to bundle the receive task, while sending eMails immediately after I created them. Now I can do that manually, but would like to find an elegant way to let the program do it for me. I know, it can send eMails, that were created in Filemaker very good (not through this server, though). Unfortunately I am not good in writing scripts, so I need your help. I need a script, that makes Powermail (still using 4.2.1) automatically receive and send messages, and if possible, but not necessary, only for one account! I would be very happy, if there was one. I use MacOS 9.1 with a Apus 3000 clone and a Sonnet G3 card. Happy and peaceful season to all of you Florian Fürst
Need a script "Send after receive" [SaferSurf.com Status: eMail virus free]
Hello all, I have a small little problem with one of my eMail-servers, which still requires the "send after receive" method of secure identification, and it doesnt't look as if that will be changed soon. All my other servers do not need that anymore. I like to bundle the receive task, while sending eMails immediately after I created them. Now I can do that manually, but would like to find an elegant way to let the program do it for me. I know, it can send eMails, that were created in Filemaker very good (not through this server, though). Unfortunately I am not good in writing scripts, so I need your help. I need a script, that makes Powermail (still using 4.2.1) automatically receive and send messages, and if possible, but not necesary, only for one account! I would be very happy, if there was one. I use MacOS 9.1 with a Apus 3000 clone and a Sonnet G3 card. Happy and peaceful season to all of you Florian Fürst
Re: auto reply to sender - not mailing list
>PowerMail Engineering wrote on Wed 22 Dec 2004 at 11:41 +0100 > >>You can do this with an AppleScript: > >Thank you Jérôme, I will try this later. > >One more thing, if I want to change the "Subject" line in the reply I >send - what would the line in the AppleScript for that be? Add this inside the repeat loop. set OldSubject to subject of msg set NewSubject to "NewSubject: " & OldSubject as string (* This combines the old and new subject lines. However, you can do as you want here *) set subject of msg to NewSubject Wayne -- "Somebody's dead forever..." - Somebody Got Murdered -- Joe Strummer (1952-2002) OP LoftBed Preferred Builder: http://www.wbwoodworks.com/ Wayne's Music Calendar: http://ical.mac.com/wayneb/Music PowerMail AppleScript Archives: http://www.ctmdev.com/tools/ Music Currently playing:
Re: auto reply to sender - not mailing list
PowerMail Engineering wrote on Wed 22 Dec 2004 at 11:41 +0100 >You can do this with an AppleScript: Thank you Jérôme, I will try this later. One more thing, if I want to change the "Subject" line in the reply I send - what would the line in the AppleScript for that be? -- David Gordon
Re: auto reply to sender - not mailing list
David Gordon wrote: >I want to set up a rule to auto reply to messages on a mailing list >depending on message content. > >I can see how to do this but I want to reply to the original mailer - not >the mailing list. You can do this with an AppleScript: tell application "PowerMail" set theMessages to current messages repeat with msg in theMessages set theReply to reply to msg without replying to all delete recipient 1 of theReply set senderAddr to sender of msg make new recipient with properties {address:senderAddr} at theReply set content of theReply to "autoreply text" send theReply end repeat end tell Jérôme - PowerMail Engineering - "I have found no other POP client that can do so much with such ease and efficiency, no matter how large the dataset." PowerMail user comment on www.versiontracker.com Download a demo version from www.ctmdev.com -
Re: auto reply to sender - not mailing list
Sean McBride wrote on Tue 21 Dec 2004 at 16:05 -0500 >Well, one option would be to stop munging the 'reply-to' header, so that >you can use the auto reply. Yea, right, that's such a good idea that even this list doesn't do it. Sorry but in the Real World most computer users need a list to work without having to jump through hoops. I guess I'm going to have to implement this on the server... -- David Gordon
Re: What is the Folder List In Tray?
>For some reason my screen was black when I returned after leaving the >computer for a few hours and wouldn't light up. I forced the computer to >shut down and restarted. > >When I opened PM and Window -> Mail Browser, a Folder List In Tray opened >which was completely blank except for a list of my mail folders on the >left hand side - no columns and no Browser Bar. > >Quit PM and reopened with the First Aid and checked the first five boxes. >The Folder List In Tray reappeared the same as before. > >Quit again but, while I was updating this message, a dialog opened >telling me my search indexes needed rebuilding and asked did I want to do >it now. But, by the time I had finished typing, the dialog disappeared. > >I reopened PM, this time I did just the requested search index rebuild >with First Aid. The empty Folder List In Tray reappeared. > >Quit again. Repaired Disk Permissions. Reopened PM. Same result but, >again, while updating this message, the rebuild search indexes reappeared >(with PM quit??). This time I clicked 'Do It Now' straight away. > >This time when I opened PM and Window -> Mail Browser the Mail Browser In >Tray opened normally. > >I don't think Repairing Permissions really did anything but does anyone >understand what is going on? > >This rigmarole also happened a few days ago. We had a power cut today forcing me to restart the computer again when power was restored. The above problem recurred. From the menu, File -> Database -> Compact Database, Update Search Index or Compact Search Index all told me "An STL exception occcurred". An attempt to Quit PM gave me "An error occurred while closing user's files". Uncaught exception type. Force Quit PM. Reopened with First Aid and clicked the Rebuild Search index button. Still got the empty Folder List Force Quit PM again. The dialog with a "Do it now" button finally appeared. Clicking this allowed PM to open normally. Seems like the only way to get PM to open normally is to wait until the Rebuild Search Index with a Do It Now button appears. It has been suggested (Hiro) that I have a corrupted email message somewhere. Is there a convenient way confirm this or find it - I must have over a thousand messages saved in my database? -- Frank Mitchell, Scottsdale, Arizona PM 5.0.2 on a PPC dual G4 (mirror door) 867 MHz, Mac OS 10.2.8, 768 MB, 60 GB