Recent content by Jose Campa

  1. J

    vb to c# for Outlook add-in.

    I have a VB script (below) but I am trying to create a add-in for Outlook now. How do I convert the code so it works? Is there a converter or something? Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) On Error Resume Next If InStr(Item.Subject, "[Encrypt]") = 0...
  2. J

    Marco in search of text in subject line

    Okay, I have it passing the subject line but it still will prompt me even if I have the "encrypt" anywhere in the subject. Since I want it to just contain the keyword should I use Like or Not Like?
  3. J

    Marco in search of text in subject line

    FYI... When I do the message box it pops up blank.
  4. J

    Marco in search of text in subject line

    What the code does so far it prompts me "You sending this unencrypted. Are you sure you want to send it?" every time I hit send. Whether I have the word encrypt in the subject line or not. Also note that I am attempting to see if any where in the subject line does it contain the word encrypt...
  5. J

    Marco in search of text in subject line

    I am trying to create a macro that will look in the subject line for the word [Encrypt]. If the word is anywhere in the subject then it just sends the email. But if it is not found, then it will prompt the user to ask them "You are sending an unencrypted message, are you sure you want to send...
Top