![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I want to know how can I write a macro in Microsoft Outlook to read emails from a specific user, and when the email comes, I want to search for a specific button or link in the email's body; then it automatically clicks that link or button. After clicking the button the email should go into delete folder and the other mails are read same way. Please help me. You can also email me on |
Ads |
#2
|
|||
|
|||
![]()
Use the MAPIFolder.Items.ItemAdd event for the Inbox to trap incoming
e-mails, and use MailItem.SenderEmailAddress or MailItem.SenderName to detect messages from a specific person within that event. It's up to you though to parse the MailItem.HTMLBody property to look for specific A tags with URLs. However, you will not be able to trap when the user clicks on a link in an e-mail. -- Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Chirag Chokshi" wrote: Hi, I want to know how can I write a macro in Microsoft Outlook to read emails from a specific user, and when the email comes, I want to search for a specific button or link in the email's body; then it automatically clicks that link or button. After clicking the button the email should go into delete folder and the other mails are read same way. Please help me. You can also email me on |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't read some emails | [email protected] | Outlook - General Queries | 1 | June 8th 07 02:16 AM |
Automatic completion of emails and nicknames doesn't work in Outlook 2002 | Svilen Pachedzhiev | Outlook - General Queries | 9 | March 27th 07 01:47 PM |
stop emails from being deleted after read | markssme | Outlook - Installation | 2 | January 17th 07 09:53 PM |
Automate Outlook contacts with emails and other activities | Jim Fitz | Outlook - Using Contacts | 1 | April 1st 06 09:11 PM |
The links in emails do not work in outlook 2000 ? Any Ideas ? | ddanmale | Outlook - General Queries | 3 | January 25th 06 10:43 PM |