Rewriting the To address on an outbound email message

Lets say my domain is company.com and my email address is [email protected]
When we send outbound emails from Outlook to business fax contacts [FAX:0123456789] the outbound message is automatically translated to <[email protected]>
We have a send connector created that pushes anything with the FAX: address space to the IP address of a 3rd party SMTP listener on an external 3rd party fax solution.
What we are looking to achieve is a way to identify the To address (in this case [email protected]) and translate this to [email protected] using a method in exchange.
We need to make sure the beginning part of the To email address always stays the same, but that the To domain is always changed to anothercompany.com and ideally it needs to do this on exchange before the message leaves.
I have had a look at the address rewrite method but cant see a way to rewrite the RCPT TO header on outbound messages, also if we can rewrite this header, we need to make sure that only the To domain changes and the first part of the To email address (faxnumber
in this case) stays the same as the original version.
We also want to only apply this logic only to [FAX:] messages.
Any help or pointers in the right direction would be much appreciated on this.
Many thanks,
Matt

Hi,
Transport rule just an workaround for your requirement.
If there are only a few fax mailboxes, you can create several rules corresponding to different mailbox separately.
If there are many, transport rule isn't a good solution, and base on my konwledge,there are no other built-in functions in exchange can achieve your needs.
Thanks.
Niko Cheng
TechNet Community Support

Similar Messages

  • How to rewrite the from-address on the 5.2 messagingserver

    We have recently upgraded our mail server from Netscape Messaging Server 4.15 (DS 4.11) to iPlanet Messaging Server 5.2 Patch 1 (including DS 5.2). Now we have the following problem:
    With the old Netscape Messaging Server 4.15 it was possible to rewrite the from-address so the from-address would look like:
    From: my_name <[email protected]>
    The alias 'my_name' is the cn (common name) from the ldap attribute belonging to the emailaddress [email protected]
    With our new messaging server 5.2 the from-section in the mail header is in the form of:
    From: friendly name <[email protected]>
    The value for 'friendly name' can be changed depending on what is filled in by the email client software.
    Our question: Is it possible to rewrite the from-address on the 5.2 messagingserver to the same form as it was on the 4.15 messagingserver (using the cn instead of the friendly name which is filled in by the mailclient) , how can we do this?

    There are a variety of rewrites available with 5.2, not quite as obvious as they were with 4.xx...
    Most likely the easiest would be to create a
    MailAlternateAddress for your user(s) that matches what you want to see. That'll rewrite the outbound.

  • Topic area: Apple Mail.  Question:  How do I get the message preview window to display to the right of my list of email messages?

    Topic area: Apple Mail.  Question:  How do I get the message preview window to display to the right of my list of email messages? i.e. to preview whatever message is currently highlighted in the center window list of messages?

    At present there is no preference option available to move the preview
    pane to right side of the mail window.
    Best.

  • Getting the 'from' address from a received email

    I am trying to pull the email address indicating who an email address is from, from email that I receive. Then I want to list the 'from' addresses in a separate data file.
    How can I code this is Java?

    public class ReadEmail {
         String from;
         String to;
         String subject;
         HashMap spam;
         public ReadEmail (String name) {
              String aline;
              int pos;
    PrintWriter spam_from;
    //PrintWriter ham_from;
              spam = new HashMap();
              try {
    spam_from = new PrintWriter(new FileWriter("spam_from.txt"));
    BufferedReader fin = new BufferedReader (new FileReader(name));
                   while ((aline = fin.readLine()) != null) {
                        if (aline.startsWith("From:")) {
                             pos = aline.indexOf ("From:");
                             from = aline.substring (pos + 6);
                             from = from.trim();
    int posat, st, fi;
    posat = from.indexOf("@");
    char ch;
    if(posat != -1) {
    // we have an email address
    st = posat - 1;
    while(st >= 0) {
    ch = from.charAt(st);
    if((ch >= '0' && ch <= '9') ||
    (ch >= 'a' && ch <= 'z') ||
    (ch >= 'A' && ch <= 'Z') ||
    ch == '.' || ch == '_') {
    st--;
    else break;
    } // end of while
    fi = posat + 1;
    while(fi < from.length()) {
    ch = from.charAt(st);
    if((ch >= '0' && ch <= '9') ||
    (ch >= 'a' && ch <= 'z') ||
    (ch >= 'A' && ch <= 'Z') ||
    ch == '.' || ch == '_') {
    st++;
    else break;
    } // end of while
    // pull out email address
    String email = from.substring(st, fi);
    System.out.println(email);
    // put it in file
    spam_from.println(email);
    }// end of if
                             System.out.println (from);
                        if (aline.startsWith("To:")) {
                             pos = aline.indexOf ("To:");
                             to = aline.substring (pos + 3);
                             to = to.trim();
                             System.out.println (to);
                        if (aline.startsWith("Subject:")) {
                             pos = aline.indexOf ("Subject:");
                             subject = aline.substring (pos + 8);
                             subject = subject.trim();
                             System.out.println (subject);
              fin.close();
    spam_from.close();
         catch (Exception ex) {
              System.out.println (ex.getMessage());
    This code alrady:
    Pull Headers out:
    -�From� ( I want to only accept incoming mail from those addresses present in the address book.)
    -�To� (incoming emails which have been sent to multiple users will be rejected.
    -�Subject�
    Pull Body out:
    -Break up string into pieces (a tokeniser does this)
    -Individual words are taken.
    -Each word is kept account of in a dictionary.
    -If Spam contains a key word, we know it is Spam
    -Else; ask dave about line 45 onwards!
    -A HashMap is something you can put words in. If the word is already there, increment it, if not, put it in.
    -Add up how many times a word is read. When in training mode, we can work out word frequency.
    Now I'm trying to pull all the 'from' addresses into a separate data file.
    Pls help!

  • How do I select the alternative address to send an email?

    I have addressees in my address book who have more than one email address. I want to be able to select the second address. At the moment I cannot work out how to do this automatically.

    Thanks for the help
    ''rsan [[#question-1046346|said]]''
    <blockquote>
    I have addressees in my address book who have more than one email address. I want to be able to select the second address. At the moment I cannot work out how to do this automatically.
    </blockquote>

  • How come the avatar shows up in some email messages?

    Hi... I've noticed that sometimes the icon/avator from my user account shows up in my email messages..
    I can't remember exactly when it does though... but I know I've seen some messages with that icon right there in the message. (sometimes I include myself in the recipient list)
    I'm wanting to turn that off... I don't have any pictures in my account and it always displays (when it's on) the default bowling ball or cat picture.
    Would like to know how to make sure that is off.
    I've sent some tests here today - but it's not doing it today.
    Some combination of the way I sent messages in the past cause it to happen and I just want to know what causes it so I can make sure it's off. Thanks.
    -Jeff

    Jeff,
    This is what Mac Help says about account pictures...
    Using your own picture in Address Book and the login window
    Mac OS X comes with a selection of pictures you can use next to your name in your Address Book card and in the login window. You can also choose one of your own pictures.
    For best results, the picture should be 64 x 64 pixels in size. If you choose a larger picture, a window appears so you can resize and crop the image to the appropriate size. The picture can be in JPEG, GIF, TIFF, PNG, PDF, or just about any graphic format.
    1. Open System Preferences and click Accounts.
    2. Select your account and click Picture.
    3. Click Edit.
    4. Click Choose, then locate the picture you want.
    5. Drag the slider to make the image smaller or larger.
    6. Drag the image until the part you want is inside the crop box.
    7. Click Set when you're finished.I have not experimented with a blank selection, so I do not know if that is possible. I suspect that you could create a blank JPEG, GIF, TIFF, PNG, PDF, document and create a white background which should appear as nothing in the picture field.
    ;~)

  • How can I create a PNG or JPG screen capture or screenshot of the entire length of a long email message?

    Hi all,
    I need to create screenshots of emails, but I need to image the entire length of those emails. Can I using Mail or any other email application? Here is what I have tried so far ...
    I can only do a screen capture of the portion of the email that shows up on my 27" Mac. I can reduce the size of the emails somewhat, but usually not enough to capture their entire length.
    I tried going through Gmail using Firefox + Awesome Screenshots plugin, but couldn't get Gmail to open entire page so as to capture it. Normally I view this Gmail account using Apple Mail.
    "Printing" to a PDF is not an acceptable solution for my needs, because that changes the native formatting to fit the print / pdf format. I need to show the exact email layout as thought it were an actual email.
    Any ideas? Thaks for your help.
    Marco
    27" iMac
    Mountain Lion OS X 10.8.5 (12F45)
    3.4 GHz Intel Core i7
    4 GB 1333 MHz DDR3
    AMD Radeon HD 6970M 1024 MB

    Installed ScreenGrab add-on to Firefox and, sorry, it still only captures the window to the extent that it is open, and there is no way that I know to open an email window in Gmail so as to show the netire lengthof a long email message.
    So, ScreenGrab helped me get more screen capture of an email, but still not yet the entire email. I used Save>Complete Page/Frame, but still no more than what is visible.
    I'll keep looking. And thanks for your suggestion Sabatica.

  • The body in SAP Smart Forms email message

    Hi Experts,
    i have a requirement, in smart forms, we did the form to be sent to the email as pdf. we want to add some text in the body of the emil message. can we do this?

    the following is the code for send the mail with both subject and body .plz go thru. hope it will be helpful.
    Creating the document to be sent with success message.
      IF gt_error IS INITIAL.
        gs_doc_chng-obj_name = 'Standard Price'(010).
    gs_doc_chng-obj_descr = 'Material Standard Price update Successful'(011)
    gs_objtxt = 'Materials updated Sucessfully with new Standard Price'(012)
        APPEND gs_objtxt TO gt_objtxt.
        LOOP AT gt_success INTO gs_success.
          gs_objtxt = gs_success.
          APPEND gs_objtxt TO gt_objtxt.
        ENDLOOP.
      ELSE.
    Creating the document to be sent with error message.
        gs_doc_chng-obj_name = 'Error Price'(002).
    gs_doc_chng-obj_descr = 'Material Standard Price Updation Errors'(003)
        gs_objtxt = 'The following Material Numbers failed to update'(004).
        APPEND gs_objtxt TO gt_objtxt.
        LOOP AT gt_error INTO gs_error.
          gs_objtxt = gs_error.
          APPEND gs_objtxt TO gt_objtxt.
        ENDLOOP.
        IF gt_success IS NOT INITIAL.
    gs_objtxt = 'Materials updated Sucessfully with New Standard Price'(012)
          APPEND gs_objtxt TO gt_objtxt.
          LOOP AT gt_success INTO gs_success.
            gs_objtxt = gs_success.
            APPEND gs_objtxt TO gt_objtxt.
          ENDLOOP.
        ENDIF.
      ENDIF.
      DESCRIBE TABLE gt_objtxt LINES gv_tab_lines.
      READ TABLE gt_objtxt INTO gs_objtxt INDEX gv_tab_lines.
    gs_doc_chng-doc_size = ( gv_tab_lines - 1 ) * 255 + STRLEN( gs_objtxt )
    Creating the entry for the compressed document
      CLEAR gs_objpack-transf_bin.
      gs_objpack-head_start = 1.
      gs_objpack-head_num   = 0.
      gs_objpack-body_start = 1.
      gs_objpack-body_num   = gv_tab_lines.
      gs_objpack-doc_type   = 'RAW'.
      APPEND gs_objpack TO gt_objpack.
    Entering names in the distribution list
      IF p_plist IS NOT INITIAL.
        gs_reclist-receiver = p_plist.
        gs_reclist-rec_type = gc_c.
        APPEND gs_reclist TO gt_reclist.
        CLEAR gs_reclist.
      ENDIF.
    Populating the reciever list
      gs_reclist-receiver = p_plist.
      gs_reclist-rec_type = gc_u.
      APPEND gs_reclist TO gt_reclist.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = gs_doc_chng
          put_in_outbox              = gc_x
          commit_work                = gc_x
        TABLES
          packing_list               = gt_objpack
          object_header              = gt_objhead
          contents_bin               = gt_objbin
          contents_txt               = gt_objtxt
          receivers                  = gt_reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          OTHERS                     = 99.
      CASE sy-subrc.
        WHEN 0.
          WRITE: 'eMail sent successfully'(005).
        WHEN OTHERS.
          WRITE: / 'eMail could not be sent'(008).
      ENDCASE.
    ENDFORM.                    " send_log_mail

  • Is there any way to disable the use of the "Delete" key to delete an email message?

    It's very frustrating when I hit the delete key and iCloud automatically erases the selected email message.  I receive some HTML formatted emails that include a text box that I can utilize to directly reply to something.  If I don't make any mistakes at all, I can utilize this box and post a reply.  But if I mess up and need to delete text, instead of deleting text iCloud deletes the email message.  Is there any way to disable this?
    Thanks for your help.

    I don't believe it's possible to disable the delete key, but could be wrong. However, if you delete an email in error, you can restore it by pressing cmd + Z to undo the deletion.

  • HT204053 I have two apple ID's and it's causing problems in my contacts. It repeats the same address and sometimes displays email address only but not the full contact details? How do I get my contact list the same in all my devices (iMac, iPhone & iPad (

    I have two Apple ID's and it's casing problems on my contact list as it repeats the address in somecases and in others it only displays email address for a contact. I want to have the same contact list and details on all my devices (iMac, iPhone 4S & iPad Mini)? Is it possible?

    By using 1 of the 2 ID's instead of both, choose one, move everything in the other one to the one you chose and stop using it.

  • I have 2 different email addresses for Facetime.  I now cannot receive or  make calls on one of the emails. I deleted, then readied the nonworking address, but I get a message that says "Email address is already verified for another Apple ID." Help!

    When I open Facetime, I see a blank screen now- no contacts or numbers. How do I add this email address to my account? Thank you.

    I have also noticed the same "problem".  I do not fully understand the impact of using the same ID on multiple computers and devices if I want to keep them all in sync.

  • Outbound email messages

    Is it always necessary to send outbound messages via a relay or can you just send them straight from the email server?

    The default is to send them directly. You have to add a relay server if that's what you want to use.
    Whether or not you use a relay server depends more upon your network setup - specifically, do you have static IP addresses and control over reverse DNS for your network. If you don't have these (e.g. you're on a dynamic IP address or don't control the reverse DNS for your network) then you may have to relay mail through your ISP to avoid your messages getting rejected as spam.

  • How do I change the number of spaces generated when I press the tab key when composing an email message?

    I'm running Thunderbird 24.3.0 on Vista Home Premium.

    issues within issues.
    Short answer is you can not.
    Long answer is see short answer plus tabs are not for "Spaces" they are for measured distances. Modern operating systems use proportional fonts and a W is much wider than an I, whereas a mono spaced font such as IBM Courier uses the same space for both.

  • My email has changed.  Should I create a new Apple ID or add the new address as an alternate to the old account?

    I have an Apple ID that uses an old email address.  Would like to use current email.  Should I update my old ID, create a new one or just add the new address as an alternate email for the old account?  I understand there are issues with updating apps if you change your ID.  Can someone please explain the best way to set this up?

    Contact iTunes support, explain the situation & ask that they add your old apps to the download queue of your new Apple ID. If they do so(they most likely will), delete the old apps from your iTunes library & move all files to trash:
    http://www.apple.com/support/itunes/

  • How to fetch the BCC address using java mail

    Hi,
    I want to extract the mail address given in the Bcc address field of an email which I fetch it from the IMAP store !!
    I will be very much thankful if this problem is solved !!
    Thanks!!

    You can read the Bcc addresses just like the To and Cc addresses. But.... Note that Bcc addresses
    won't be present in any message you receive; if you could see the Bcc addresses it wouldn't be a
    blind carbon copy. If you create a message with Bcc addresses and save that message in your
    "Sent Items" folder, you'll be able to read the Bcc addresses in that message.

Maybe you are looking for

  • Media Manager and Subclips

    Hello, Seem to be having a slight issue with media manager. I broke a master clip up into 5 subclips. I tried to use media manager to create 5 new media files from these subclips (which should result in the subclips becoming their own master clips),

  • I restored my whole ipod and now when i sync it my whole library wont go into my ipod

    i need help pronto .. i need music

  • Update all alv (grid) displayed records to internal table

    Hi all, i want to update the records into the internal table which are changed by the user in the edit field. after he select save button. i  have to save the ALV grid displayed records in the internal table. hw can i do this ?

  • HT1926 problems with installing updates

    Tried to install the latest update for itunes on 2/2/2014. Received  two error messages every time I tried to update. ===================================== Error Message #1 Runtime Error! Program: C/Program Files (x86)\iTunes\iTunes.exe R6034 An appl

  • How to "Reload Domain" via Java / Command line

    Hi, I am looking for a way to do the same as the button "Reload Domain" in enterprise manager does, but I need to do it from command line or from java. We have multiple CMSDK nodes running on different servers. As the ifsctl command runs into very lo