A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Help with VBA and Outlook



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 18th 06, 05:01 PM posted to microsoft.public.outlook.program_vba
ms
external usenet poster
 
Posts: 6
Default Help with VBA and Outlook

Hi,

I'd like to do the following with every email received to a certain Exchange
mailbox:

Verify the domain that the email was sent from. If there is a match, process
it, otherwise autoreply with a message that the email will not be accepted.

The process would be sending a new email to a third address that contains
the original sender's address, and the original body. Each of these items
would need to be enclosed by "{" and "}".

The subject for this email would be the same as the original email's
subject.

Thanks in advance,
RR



Ads
  #2  
Old April 19th 06, 08:59 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Help with VBA and Outlook

All this is definitely possible. This KB article gives a good overview of
what needs to be done:

How to create a custom rule using Visual Basic for Applications (VBA) in
Outlook 2002:
http://support.microsoft.com/default...b;en-us;292063

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"ms" wrote:

Hi,

I'd like to do the following with every email received to a certain Exchange
mailbox:

Verify the domain that the email was sent from. If there is a match, process
it, otherwise autoreply with a message that the email will not be accepted.

The process would be sending a new email to a third address that contains
the original sender's address, and the original body. Each of these items
would need to be enclosed by "{" and "}".

The subject for this email would be the same as the original email's
subject.

Thanks in advance,
RR




  #3  
Old April 21st 06, 07:23 PM posted to microsoft.public.outlook.program_vba
ms
external usenet poster
 
Posts: 6
Default Help with VBA and Outlook

Thank you!

"Eric Legault [MVP - Outlook]" wrote in
message ...
All this is definitely possible. This KB article gives a good overview of
what needs to be done:

How to create a custom rule using Visual Basic for Applications (VBA) in
Outlook 2002:
http://support.microsoft.com/default...b;en-us;292063

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"ms" wrote:

Hi,

I'd like to do the following with every email received to a certain
Exchange
mailbox:

Verify the domain that the email was sent from. If there is a match,
process
it, otherwise autoreply with a message that the email will not be
accepted.

The process would be sending a new email to a third address that contains
the original sender's address, and the original body. Each of these items
would need to be enclosed by "{" and "}".

The subject for this email would be the same as the original email's
subject.

Thanks in advance,
RR






 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using VBA for Outlook and VBA for Access within Access Sardonic Outlook and VBA 1 March 17th 06 12:34 PM
Send As Property Outlook VBA [email protected] Outlook and VBA 1 March 15th 06 04:12 PM
Outlook VBA text functions Vaughan Outlook and VBA 5 February 14th 06 08:51 AM
How to loop through Outlook tasks in VBA Rick Williams Outlook and VBA 2 January 25th 06 07:59 PM
List of Outlook References Through VBA David Outlook - General Queries 0 January 10th 06 11:53 PM


All times are GMT +1. The time now is 11:34 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.