Search results

  1. I

    Forwarding attachments in email received

    I am looking for vba code to forward attachments in an email received to be forwarded to a particular email id. I can set rule if the attachment count is one however I need to send each attachments in the email individually to the email id. Thank you
  2. I

    get count of all emails with same conversation ID

    Thank You, Diane I used restrict to limit the results to the given conversation id and was able to do it as below. Set sitems = Ns.GetDefaultFolder(olFolderInbox).Items.Restrict("[ConversationTopic]='" & UMail.ConversationTopic & "'")
  3. I

    get count of all emails with same conversation ID

    I am trying to move emails with same conversation id to a folder. Right now I am using loop to search all the emails to look for conversation ID and move the email However the Inbox has more than 4000 emails in it hence it is taking time as I am trying to move the emails in Inbox in the...
  4. I

    categories for outgoing email

    I solved the issue, actually the categories were getting set for emails in Sent Items and not in the inbox. I removed the one which sets the category for current message and used .find to find the email I am replying with the subject and set the category to the email in Inbox. Thank you
  5. I

    categories for outgoing email

    Hi Diane, Please find below the code I am using to set the categories. Thank you for your help. Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) If EmailDetails.Visible = False Then clrform End If Flag = True Dim strSubject As String Dim tempMsg As...
  6. I

    categories for outgoing email

    I tested the code again and found that when the email is replied within the reading pane it categories the email but when I open the email in a new window it does not categories it. I will send you relevant code in sometime. Thank you.
  7. I

    categories for outgoing email

    It gives no errors. I check the code using the step mode, all form values shows but no categories is set for the email. However sometimes if I run the code in step mode it sets the category but when I run the code it gives blank. I tried using sleep after the first line of code but no luck.
  8. I

    categories for outgoing email

    I am trying to set categories to outgoing email in Outlook 2016 based on certain combo box values from the end user. I am using the below code to add category to outgoing email within the Item send event. msg.Categories = msg.Categories & "," & EmailDetails.cmbresponsetype.Value & "-" &...
  9. I

    ConversationId of a New Email sent

    Thank you once again Diane, that helped!
  10. I

    ConversationId of a New Email sent

    Thank you, Diane. Yes I was trying to upload the data within the Itemsend event of the email. I will try adding watch to the sent folder and update the database post sending the email.
  11. I

    ConversationId of a New Email sent

    I am trying a track emails in Outlook 2016 using conversationID since the email subject will not change. I am able to get conversationID of all received email in Outlook however when I send a new email I get blank conversation id. I tried saving the email before sending to get the info since...
  12. I

    Check if sent email has been replied

    Hi, How do I check if I have received reply of an email sent by me in outlook. I tried checking with EntyID and the entryid for first sent email is different from the reply received for the same email. Thanks, Iqbal
  13. I

    Capture incoming emails

    I am using the below code to set the default folder as Inbox. Set gnspNameSpace = Outlook.GetNamespace("MAPI") 'Outlook Object Set fldInbox = gnspNameSpace.Folders(GenericFolder_Root).Folders("Inbox") Set myInboxMailItem = fldInbox.Items Hence all the incoming emails in Inbox are capture...
  14. I

    Application_NewMailEx for shared mailbox

    I am using the Appilcation_NewMailEx event to check for any new email arriving in my outlook. My Outlook is configured with my personal Id and a shared mailbox. When I use Application_NewMailEx event it captures any email coming to my personal ID and do not capture any incoming email for the...
  15. I

    Email Replied for first time Date/Time

    Thanks Diane for the explanation.
  16. I

    Email Replied for first time Date/Time

    I want to know if we can capture the date/time of an email when it was replied for the first time. Since PR_LAST_VERB_EXECUTED property would always give date/time of the last reply of an email. How do I know when was the fist instance of email was replied. For example : If I replied to one of...
  17. I

    Global variables in ThisOutlookSession

    Hi, How do I declare a global variable in ThisOutlookSession so that I am able to use the variable value in a class module. I am using a class module to capture the number of email windows I have opened in outlook and capture the time spent on each of them to view. The Public variable declared...
  18. I

    Application_NewMailEx for a specific Email account

    Thanks Diane, I will try the options.:)
  19. I

    Application_NewMailEx for a specific Email account

    Thanks Diane, How do I get details of emails arriving in a specific folder of an email account? I have outlook configured with multiple email accounts. When I use NewMailEx event all emails arriving are captured from all the folders. I want to capture emails from a specific email account...
  20. I

    Application_NewMailEx for a specific Email account

    Hi, How can I use the Application_NewMailEx event to capture emails from Inbox of a specific Email account. I have multiple Email accounts in my Outlook 2010 and want to get email from a specific email account only and that to for Inbox folder only. Thanks,
Back
Top