I have a regular client who has a recurring PEBCAC problem. I'll get a call about once a week from her, saying that mail comes in but won't go out. A 20-minute drive and a 2-minute check of her outbox reveals improperly-addressed emails blocking the outbox, and nothing else can go out because of these undeliverables. Common errors include the following (types of) addresses:
• www.iastate.edu [or other http:// address instead of email address]
• email@example.com [or similar]
• [no address entered]
• [subject line typed in BCC: field]
• username [without @server.com appended]
• [person's full name typed in To: field]
My question is this: can a rule or Applescript be applied to Mail.app that would either delete these undeliverable messages, or redirect them to an "Undeliverable" folder, so that properly-addressed mails can be sent? This would save my client multiple visits (and bills) from me, and would save me fixing the same problem over and over again. I'm sure it would be useful to others here at 'Fritter as well.
Any Applescript geeks want to take this one on?
Side note: could an admin remove any unintentional links in the list above?