PC Review


Reply
Thread Tools Rate Thread

Auto-reply with custom foms

 
 
=?Utf-8?B?SkI=?=
Guest
Posts: n/a
 
      13th Sep 2005
Good afternoon all. I work in a post print shop, and have one person
downloading mail on a Macintosh using entourage 10.1.0. I am setting up a
new PC station to assist in the downloading, but have hit a snag.

I need to send out customized forms (good art, bad art, missing PO, etc)
based on which folder a message gets moved to. This is farily simple to
setup in entourage, but hard to do based on the set of rules given by outlook
2000. I am not sure if I need to use a macro or a vba script. I do not have
experience with either.

Ideally, I would want it to work like this. When the user moves the message
from the inbox to a folder, the script would recognize that move and reply to
it using a template defined for that individual folder. I don't believe this
would be too terribly hard to setup, I just have no idea where to start.

Thanks,
JB


 
Reply With Quote
 
 
 
 
=?Utf-8?B?RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ==
Guest
Posts: n/a
 
      14th Sep 2005
You can use the integrated Help in the Outlook VBA Editor (press F1 with the
cursor inside some syntax you want help on), or read/download developer
documentation here:

http://msdn.microsoft.com/library/en...asp?frame=true

I also recommend exploring http://www.OutlookCode.com.

--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard - http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"JB" wrote:

> Thanks Eric. Is there a list of the objects somewhere (object name for the
> sender's email when i want to pull it back into the reply)? This is my first
> attempt at doing any of this, so some basic instructions would be great
> (website for rookies). I followed most of what you wrote does, just a matter
> of getting everything else in.
>
> Thanks.
> JB
>
> "Eric Legault [MVP - Outlook]" wrote:
>
> > You can do this by setting up hooks into the ItemAdd event for each of the
> > folders you need to monitor:
> >
> > Option Explicit
> > Dim WithEvents NewMailItems As Outlook.Items
> >
> > Private Sub Application_Startup()
> > Set NewMailItems =
> > Application.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox).Items
> > End Sub
> >
> > Private Sub NewMailItems_ItemAdd(ByVal Item As Object)
> > 'THIS WILL FIRE FOR EVERY NEW E-MAIL; YOU CAN USE THE
> > 'Item OBJECT TO WORK WITH THE PROPERTIES OF THE E-MAIL MESSAGE
> >
> > Dim objMail As Outlook.MailItem
> >
> > If Item.Class <> olmail Then Exit Sub
> >
> > Set objMail = Item
> > 'Now you can do someting with the e-mail
> > End Sub
> >
> > Private Sub Application_Quit()
> > Set NewMailItems = Nothing
> > End Sub
> >
> > Just add more variables like NewMailItems, configure them during
> > Application_Startup, add ItemAdd event stubs for every Items collection, and
> > use the Item object passed in those events to reply to the message. If you
> > need to create a custom form stored in the Forms Library for the folder that
> > it is moved to, use Items.Add("IPM.Note.MyCustomForm") to get a handle to
> > that object.
> >
> > --
> > Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
> > Try Picture Attachments Wizard - http://www.collaborativeinnovations.ca
> > Blog: http://blogs.officezealot.com/legault/
> >
> >
> > "JB" wrote:
> >
> > > Good afternoon all. I work in a post print shop, and have one person
> > > downloading mail on a Macintosh using entourage 10.1.0. I am setting up a
> > > new PC station to assist in the downloading, but have hit a snag.
> > >
> > > I need to send out customized forms (good art, bad art, missing PO, etc)
> > > based on which folder a message gets moved to. This is farily simple to
> > > setup in entourage, but hard to do based on the set of rules given by outlook
> > > 2000. I am not sure if I need to use a macro or a vba script. I do not have
> > > experience with either.
> > >
> > > Ideally, I would want it to work like this. When the user moves the message
> > > from the inbox to a folder, the script would recognize that move and reply to
> > > it using a template defined for that individual folder. I don't believe this
> > > would be too terribly hard to setup, I just have no idea where to start.
> > >
> > > Thanks,
> > > JB
> > >
> > >

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Auto-reply with custom foms =?Utf-8?B?RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ== Microsoft Outlook VBA Programming 1 13th Sep 2005 10:42 PM
How do I make a special reply from the email auto reply wizrd? =?Utf-8?B?am1hcmll?= Microsoft Outlook Form Programming 1 19th Jul 2005 01:57 AM
Auto-reply rule restriction in Outlook 2002 (automatic reply probl =?Utf-8?B?cGVhY2hlcg==?= Microsoft Outlook Discussion 1 3rd Jul 2005 05:01 AM
AUTO-REPLY WITH CUSTOM REPLY MESSAGE =?Utf-8?B?VG9kZA==?= Microsoft Outlook Discussion 4 23rd Feb 2005 03:51 PM
Re: How to setup auto reply and create rule for auto reply in Outlook. Sue Mosher [MVP-Outlook] Microsoft Outlook 0 3rd Sep 2004 07:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:10 PM.