Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / March 2008

Tip: Looking for answers? Try searching our database.

Sending to different emails/distribution lists based on criteria

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pomomatthew@gmail.com - 05 Mar 2008 02:53 GMT
I know this sounds really easy, but I haven't figured it out - I
basically have a custom form that could go to one of three internal
departments.

I just want to be able to send it to Email Address "A" if the Sales
Region is "A", Email Address "B" if the Sales Region is "B", etc.  For
some reason, it always displays the current date at 0000 AM in the
"To" field.

I have tried it a number of ways,can someone give me an idea on how to
fix it?

Thanks
Sue Mosher [MVP-Outlook] - 05 Mar 2008 14:58 GMT
It's not inherently "really easy." Start with the questions you'd ask if you a staffer to do that kind of sending. What information on the message tells you whether the message is destined for a particular department? Once you know the department, where do you find information about the email addresses to use? If you can answer those questions, we might be able to help you.
Signature

Sue Mosher, Outlook MVP
  Author of Microsoft Outlook 2007 Programming:
    Jumpstart for Power Users and Administrators
   http://www.outlookcode.com/article.aspx?id=54

>I know this sounds really easy, but I haven't figured it out - I
> basically have a custom form that could go to one of three internal
[quoted text clipped - 9 lines]
>
> Thanks
pomomatthew - 05 Mar 2008 17:21 GMT
The form has been designed so that the first question at the top is
"Please select sales region" with an option for "Portland",
"Sacramento", or "Seattle". Beyond that question, there is nothing
else that would qualify where it needs to be sent. I want
xxxx@xxxx.com to be placed in the To: field if "Portland" is selected,
yyyy@yyyy.com if "Sacramento" is selected, or zzzzz@zzzz.com if
"Seattle" is selected.  The addresses are standard email addresses
like any other.  I hope that clarifies what I am asking for...

Thanks!

On Mar 5, 6:58 am, "Sue Mosher [MVP-Outlook]" <sue...@outlookcode.com>
wrote:
> It's not inherently "really easy." Start with the questions you'd ask if you a staffer to do that kind of sending. What information on the message tells you whether the message is destined for a particular department? Once you know the department, where do you find information about the email addresses to use? If you can answer those questions, we might be able to help you.
> --
[quoted text clipped - 19 lines]
>
> - Show quoted text -
Sue Mosher [MVP-Outlook] - 05 Mar 2008 19:15 GMT
Still not quite enough detail. That "first question" -- is it an unbound control or is it bound to an Outlook property? Which property? See http://www.outlookcode.com/article.aspx?ID=38 if you don't understand the difference. That page will also show you how to write code to respond to the user's interaction with your form.

Is there only one recipient per item?

Signature

Sue Mosher, Outlook MVP
  Author of Microsoft Outlook 2007 Programming:
    Jumpstart for Power Users and Administrators
   http://www.outlookcode.com/article.aspx?id=54

The form has been designed so that the first question at the top is
"Please select sales region" with an option for "Portland",
"Sacramento", or "Seattle". Beyond that question, there is nothing
else that would qualify where it needs to be sent. I want
xxxx@xxxx.com to be placed in the To: field if "Portland" is selected,
yyyy@yyyy.com if "Sacramento" is selected, or zzzzz@zzzz.com if
"Seattle" is selected.  The addresses are standard email addresses
like any other.  I hope that clarifies what I am asking for...

Thanks!

On Mar 5, 6:58 am, "Sue Mosher [MVP-Outlook]" <sue...@outlookcode.com>
wrote:
> It's not inherently "really easy." Start with the questions you'd ask if you a staffer to do that kind of sending. What information on the message tells you whether the message is destined for a particular department? Once you know the department, where do you find information about the email addresses to use? If you can answer those questions, we might be able to help you.
>
[quoted text clipped - 14 lines]
>
> - Show quoted text -
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.