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 / General MS InfoPath Questions / September 2005

Tip: Looking for answers? Try searching our database.

Two e-mails generated at once from one form?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RDB - 19 Aug 2005 19:47 GMT
Is it possible to generate a form that, upon hitting "submit", will generate
two e-mails.  We need to create a form that will send information to our HR
and IT departments.  Also, each recipient (HR and IT) will receive different
pieces of information from this form.  How can these two items be
accomplished?
JerryTh [MSFT] - 20 Aug 2005 00:18 GMT
The easiest way (notice I didn't say prettiest), would be to insert a button.
Then assign rules to the button so that it switches to HRView and sends an
e-mail, then switches to ITView and sends another e-mail, and then switches
back to MainView.

And alternative would be to add another field called PrintView.
The button sets that field to HR or IT.
Then set fields with conditional formatting to hide if HR should not see, or
IT should not see.

Both of these require the user to clcik [Send] for each email.

The other, cleaner approach is to do the same thing (switch views) but run
it with script so that the user involvement is not required.
Signature

This posting is provided "AS IS" with no warranties, and confers no rights.
Sample code subject to http://www.microsoft.com/info/copyright.htm
Do not send email to this alias. It is for newsgroup only

> Is it possible to generate a form that, upon hitting "submit", will generate
> two e-mails.  We need to create a form that will send information to our HR
> and IT departments.  Also, each recipient (HR and IT) will receive different
> pieces of information from this form.  How can these two items be
> accomplished?
agni - 20 Aug 2005 06:32 GMT
The best way is to write code in the button click event.
There you can change the values of email adapter and you send email one
after the other.
To send an email by code you can refer
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=711

> Is it possible to generate a form that, upon hitting "submit", will
> generate
[quoted text clipped - 4 lines]
> pieces of information from this form.  How can these two items be
> accomplished?
QT.Nguynh@gmail.com - 01 Sep 2005 19:53 GMT
After I swiched to a different view and send an email. It seems that
the default view is always sent instead of the desired view. Did anyone
have this problem, or am i missing something from the email
submission's setup?

Please advise me!

Thanks very much
 
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.