Forum
Merhaba,
Exchange 2000 de mail gönderirken mailin alt kısmında bulunan mesajı nereden değiştiriyorduk...
merhabalar
alt mesaj dediğiniz herhalde disclaimerdır. aşağıdaki yapıyı bir kontrol edin.
http://support.microsoft.com/kb/317327
Create the event sink
loadTOCNode(2, 'summary');
1. | Create a new Microsoft Visual Basic ActiveX DLL. Name the project SMTPEventSink, and then name the module Disclaimer. |
2. | Under Project References, add Microsoft CDO for Exchange 2000 Library, and then add Server Extension Objects COM Library. |
3. | Put the following code in the module:
|
4. | Replace the sample disclaimer text with your own disclaimer text, and then build the DLL. |
Register the event sink
loadTOCNode(2, 'summary');
To register the event sink, use the Smtpreg.vbs file that is installed with the Exchange software development kit (SDK).
1. | At a command prompt, locate the \Exchange SDK\SDK\Support\CDO\Scripts folder, and then type the following: cscript smtpreg.vbs /add 1 OnArrival SMTPDisclaimer SMTPEventSink.Disclaimer "mail from=*@your-domain-here.com" If this command succeeds, you receive a success message that is generated by the script. |
2. | To unregister this event, type the following: cscript smtpreg.vbs /remove 1 OnArrival SMTPDisclaimer |
Test the event sink
loadTOCNode(2, 'summary');
To test the event sink, send an e-mail message to an SMTP recipient who is external to your organization. The recipient receives a modified message with the disclaimer text added to the end of the message.
Note If you use a MAPI client, such as Microsoft Outlook, to send the e-mail message, the recipient does not receive a modified e-mail message. This is because the e-mail message that is submitted by using MAPI is not in an SMTP format when the e-mail message triggers the SMTP transport event. Therefore, changes that are made by the code of the event are not persisted.