locked
Setup new email notification in this way RRS feed

  • Question

  • Hi, what I am trying to do is to send a small notification message to staff's personal/external email address with a body simply sth like "You've got a email in your work email box", whenever a new email arrives in that staff's work mailbox. Currently I am using third party software MailMarshal to archive this.

    With Exchange 2007, is it possible to do this without any third party software? By using Tranport Rule or sth else?
    Monday, April 27, 2009 6:26 AM

Answers

  • Hello,

    There is no such a feature in Exchange 2007. Transport Rule cannot do the trick. I think you need to leverage the third party software.

    As a workaround, you could teach the end-users to create a rule in their Outlook, and forward all mails to their external mailbox. One thing should be notice that you need to enable “Allow automatic forward” in server (organization configuration | Hub Transport | remote domains | default | format | “Allow automatic forward”.

    Hope this helps. Thanks,

    Elvis

    • Proposed as answer by Elvis Wei Wednesday, May 6, 2009 7:07 AM
    • Marked as answer by Elvis Wei Friday, May 8, 2009 8:42 AM
    Tuesday, April 28, 2009 9:40 AM
  • The best way to handle this would be client side rules or third party as suggested by Elvis.

    here few more articles i wanted to added with Elvis solid action plan.

    Tips for managing your e-mail using rules
    http://office.microsoft.com/en-us/outlook/HA010173281033.aspx

    Create a rule
    http://office.microsoft.com/en-us/outlook/HP052428971033.aspx


    Arun Kumar | MCSE - 2K3 + Messaging | ITIL-F V3
    • Proposed as answer by Elvis Wei Wednesday, May 6, 2009 7:07 AM
    • Marked as answer by Elvis Wei Friday, May 8, 2009 8:42 AM
    Friday, May 1, 2009 11:28 PM
  • Gents,

    I finally figured out how to do this through a Outlook Macro...Then create a client rule with action "run a script". Then pickup the macro. Here are the codes:

    Sub newEmailNotification(ByVal Item As Object)
            SenderAddress = Item.SenderEmailAddress 'Change the sender address to name if the sender address is internal 
            If InStr(SenderAddress, "=") <> 0 Then
                SenderAddress = Item.SenderName
            End If
            sendersubject = Item.Subject
            strSubject = "Newe Email Notification"
            Dim msg As Outlook.MailItem
            Set msg = Application.CreateItem(olMailItem)
            msg.Subject = strSubject
            msg.Body = "Dear Facilitator," & vbNewLine & "You have received a new email from " & SenderAddress & vbNewLine & "In relation to: " & sendersubject & vbNewLine & "IT Dept"
            msg.Recipients.Add "notsteve@foo.com"
            msg.Send
    
    End Sub
    
    
    • Marked as answer by aha_tom Thursday, September 17, 2009 11:30 PM
    Friday, September 11, 2009 2:04 AM

All replies

  • Hello,

    There is no such a feature in Exchange 2007. Transport Rule cannot do the trick. I think you need to leverage the third party software.

    As a workaround, you could teach the end-users to create a rule in their Outlook, and forward all mails to their external mailbox. One thing should be notice that you need to enable “Allow automatic forward” in server (organization configuration | Hub Transport | remote domains | default | format | “Allow automatic forward”.

    Hope this helps. Thanks,

    Elvis

    • Proposed as answer by Elvis Wei Wednesday, May 6, 2009 7:07 AM
    • Marked as answer by Elvis Wei Friday, May 8, 2009 8:42 AM
    Tuesday, April 28, 2009 9:40 AM
  • The best way to handle this would be client side rules or third party as suggested by Elvis.

    here few more articles i wanted to added with Elvis solid action plan.

    Tips for managing your e-mail using rules
    http://office.microsoft.com/en-us/outlook/HA010173281033.aspx

    Create a rule
    http://office.microsoft.com/en-us/outlook/HP052428971033.aspx


    Arun Kumar | MCSE - 2K3 + Messaging | ITIL-F V3
    • Proposed as answer by Elvis Wei Wednesday, May 6, 2009 7:07 AM
    • Marked as answer by Elvis Wei Friday, May 8, 2009 8:42 AM
    Friday, May 1, 2009 11:28 PM
  • Any update on this?
    Arun Kumar | MCSE - 2K3 + Messaging | ITIL-F V3
    Monday, May 4, 2009 7:12 PM
  • The problem here is the company policy does not allow emails to be forwarded from internal server to staff personal accounts. We can only send out a notification which contains a simple line sth like "You have a new message in your company mailbox". From the Outlook client rules I found a option which allows you to run a script when receive a new message. I am going to try that by simplely create a vbs/bat script to send out simple emails.
    Thursday, September 3, 2009 12:58 AM
  • Gents,

    I finally figured out how to do this through a Outlook Macro...Then create a client rule with action "run a script". Then pickup the macro. Here are the codes:

    Sub newEmailNotification(ByVal Item As Object)
            SenderAddress = Item.SenderEmailAddress 'Change the sender address to name if the sender address is internal 
            If InStr(SenderAddress, "=") <> 0 Then
                SenderAddress = Item.SenderName
            End If
            sendersubject = Item.Subject
            strSubject = "Newe Email Notification"
            Dim msg As Outlook.MailItem
            Set msg = Application.CreateItem(olMailItem)
            msg.Subject = strSubject
            msg.Body = "Dear Facilitator," & vbNewLine & "You have received a new email from " & SenderAddress & vbNewLine & "In relation to: " & sendersubject & vbNewLine & "IT Dept"
            msg.Recipients.Add "notsteve@foo.com"
            msg.Send
    
    End Sub
    
    
    • Marked as answer by aha_tom Thursday, September 17, 2009 11:30 PM
    Friday, September 11, 2009 2:04 AM