Home > Microsoft Exchange Tips > Exchange Server Administration Tips > Append text to SMTP e-mails in Exchange Server 5.5
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

Append text to SMTP e-mails in Exchange Server 5.5


Serdar Yegulalp
08.19.2002
Rating: --- (out of 5)


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


Within any organization, an Exchange administrator may wish to have a header or footer attached to all incoming or outgoing messages, such as a disclaimer or other legal notice. Doing this requires use of the Internet Mail Service Extension DLL, known as IMSEXT.DLL.

This .DLL is included with the Microsoft BackOffice Resource Kit and is not installed by default, so it needs to be installed before it can be used.

  1. Copy the IMSEXT.DLL file to the ExchsrvrConnectMsexcimcBin folder on the Exchange server in question.

  2. In that folder, run the command

    REGSVR32 IMSEXT.DLL

    This will register the DLL with Windows.

  3. If you are running Exchange Server 5.5 SP1 or later, you'll need to make a Registry edit to avoid losing routing tables. Under HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesMSExchangeIMCParameters, add the following value:

    Value Name: NonRoutingExtensionDll
    Data Type: REG_SZ
    String Value: Drive and path to IMSEXT.DLL

  4. Under HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesMSExchangeIMCParameters, add a new key named Extension.

  5. Stop and restart the Internet Mail Service.

  6. In the Extension key, add the following values based on what kind of messages you want to add to incoming or outgoing mails.

    To have incoming mail sport a header text in the body of the message, add a string value named InboundPrepend. For appended text, add a string value named InboundAppend.

    To add a header to outbound messages, add a string named OutboundPrepend. To append text, add a string named OutboundAppend.

    The value of each of these strings is the text of the message to add, with the following RTF-style control characters:

     -- Bold on
    0 -- Bold off
    i -- Italics on
    i0 -- Italics off
    ul -- Underline on
    ul0 -- Underline off
    plain -- Plaintext--All formatting off
    par -- New line or new paragraph
    ab -- Tab in five spaces

So to encode the message

This mail has been sent in confidence.
If you are not the recipient, contact outbox@domain.com immediately.

-- use the following text:

This mail has been sent in confidence.par If you are not the recipient, contact outbox@domain.com immediately.

Note the use of par for the line break.


Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter.


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




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



RELATED CONTENT
Exchange Server Administration Tips
Remove Exchange 2003 objects from AD to install Exchange 2010
Don'ts for optimal Exchange 2007 mailbox server efficiency
Is your Exchange 2007 hub transport server healthy?
Avoid Outlook 2007 performance issues during repairs
Developing an Exchange 2007 server role DR plan
How DSAccess service improves Exchange Server 2007 reliability
An introduction to the Exchange Remote Connectivity Analyzer tool
Monitor Exchange 2007 with disk- and RPC-related counters
DPM 2007 replica inconsistencies in Exchange databases
Track Exchange 2007 mailbox server health using database counters

Legacy Microsoft Exchange Servers
Troubleshooting Outlook calendar errors on a BlackBerry device
How to move Exchange 2000 to new server hardware
Migrating mailboxes from Exchange Server 5.5 to Windows SBS 2003
Remove Exchange 5.5 servers from a mixed mode Exchange environment
Error 1053: Exchange System Attendant service could not start
Solve server problems with the Exchange Troubleshooting Assistant tool
Best approaches for upgrading Exchange 5.5 to Exchange 2000 or 2003
Move mailboxes to Exchange 2007 after Windows upgrade
Third-party tools that modify NDRs for oversized email
IP address changes for an Exchange 2000 recovery server
Legacy Microsoft Exchange Servers Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
E2K  (SearchExchange.com)

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.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT 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 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts