Home > Domino Tips > Administrator > Mail > Redirecting Dead Mail
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

MAIL

Redirecting Dead Mail


John Rasmussen
09.30.2002
Rating: -2.50- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Some dead messages are important to your company and cannot just be deleted. Here's an easy way to redirct them and alert the intended recipient to have the problem corrected.

We often get important messages that go dead in the mail box because the sender mistyped the email address. Rather than delete them, we try to pass them on to the intended recipient where possible. I wrote this little code snippet to make the process easier.

Create this code as a smart icon button. That way it doesn't alter the design of the mail.box and will be available no matter what server you access. If the address to redirect to is not in your address book, just click OK to the picklist and enter it manually in the prompt that follows (useful for sending to alias names).

The code will also offer to send a note to the recipient asking that they contact the sender and have their address corrected.



Code

FIELD FailureReason:="";
FIELD DeadFailureReason:="";
FIELD RoutingState:="";
origSendTo:=SendTo;
FIELD Sendto:=@Name([CN];@PickList( [Name] ));
FIELD SendTo:=@Prompt([OKCANCELEDIT]; "Enter Address"; "Enter Address";Sendto);
FIELD Recipients:=Sendto;
warn:=@Prompt([YESNO];"Send Correction Notice";"Do you want to send a notice to the recipient to contact the author with their correct address?");
msg:= "The message you received from: " + @Name([CN];FROM) + " with subject: '" + subject + "' was addressed incorrectly to " + origSendTo + " and required administrator intervention to correct.  Please contact the sender with your correct email address.";
sig:=@NewLine+@NewLine+"Thank you,"+ @NewLine+"Company XYZ Email Administration";
@If(warn=1;@MailSend( sendTo ; "" ; "" ; "Email address correction needed" ;msg + sig; ""  );"")

Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Mail
Run or restart Notes/Domino agents via text messages
How to create mail files using a LotusScript agent
How to turn off the message recall feature in Lotus Notes 8
Domino server setting and email policy tricks admins must know
Top 10 Lotus Notes/Domino administration tips of 2008
Understanding a Lotus Notes Smart Upgrade rollout
Bringing MailRule documents back into view
Use SMTP outbound authentication to relay hosts in Lotus Notes Domino 8
Notes/Domino 6 version of 'Discover Folder'
Five tips to improve email performance

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts