Copy Email in an "email formfield" to send along w/other set alrea

S

Soun

Hi FP experts,

This one is hard! I have a form that is used to submit requests at my job.
Two of the must have fields in the form is to type in your Supervisor's name
and email address. I already have this form sent to the proper emails with a
small subject. Now I need to know how to have the Supervisor's name in the
Subject of the outlook email, and have the Supervisor's email to be "copied".
Please note that the fields will be different each time a different employee
needs to submit a new request.

Please Help!
Soun
 
M

Mike Mueller

The quantity of supervisors is going to be a determining
factor in the coding of this. If there are a lot of
supervisors, you would want to use a database to store their
names/emails in. If there is only a few, you may also
hard-code the page for that same info.
Either method will be a custom script, and that script will
vary dependant upon the server, OS, and the available
scripting languages




: Hi FP experts,
:
: This one is hard! I have a form that is used to submit
requests at my job.
: Two of the must have fields in the form is to type in your
Supervisor's name
: and email address. I already have this form sent to the
proper emails with a
: small subject. Now I need to know how to have the
Supervisor's name in the
: Subject of the outlook email, and have the Supervisor's
email to be "copied".
: Please note that the fields will be different each time a
different employee
: needs to submit a new request.
:
: Please Help!
: Soun
 
S

Soun

Hi Mike,

It's not that intense. There will only be one Supervisor name and email at
a time in each form submit. Picture a form being filled to request a simple
action from an IT team. That person will have to input their supervisor's
name and supervisor's email in the fields that the form has designated.
Below is and example of the code for where the form currently gets sent. As
you can see there is ABC1 and ABC2 emails that are hardcoded already. I need
the supervisor's email to be populated next to the other emails upon pressing
submit button. Also the subject= has "ABC On-line Form", I need the
supervisor's name coded in the front of it.

action="mailto:[email protected];[email protected]?subject=ABC On-line Form"
enctype="text/plain"> <font face="Book Antiqua" size="3"><input type="hidden"
onkeypress="return handleEnter(this, event)"
">
 
M

Mike Mueller

Even in that scenario, you would need to use scripting as
the action would contain a variable


: Hi Mike,
:
: It's not that intense. There will only be one Supervisor
name and email at
: a time in each form submit. Picture a form being filled
to request a simple
: action from an IT team. That person will have to input
their supervisor's
: name and supervisor's email in the fields that the form
has designated.
: Below is and example of the code for where the form
currently gets sent. As
: you can see there is ABC1 and ABC2 emails that are
hardcoded already. I need
: the supervisor's email to be populated next to the other
emails upon pressing
: submit button. Also the subject= has "ABC On-line Form",
I need the
: supervisor's name coded in the front of it.
:
: action="mailto:[email protected];[email protected]?subject=ABC
On-line Form"
: enctype="text/plain"> <font face="Book Antiqua"
size="3"><input type="hidden"
: onkeypress="return handleEnter(this, event)"
: ">
:
: --
: Regards,
: Soun
:
:
: "Mike Mueller" wrote:
:
: > The quantity of supervisors is going to be a determining
: > factor in the coding of this. If there are a lot of
: > supervisors, you would want to use a database to store
their
: > names/emails in. If there is only a few, you may also
: > hard-code the page for that same info.
: > Either method will be a custom script, and that script
will
: > vary dependant upon the server, OS, and the available
: > scripting languages
: >
: >
: >
: >
: >
: > : Hi FP experts,
: > :
: > : This one is hard! I have a form that is used to
submit
: > requests at my job.
: > : Two of the must have fields in the form is to type in
your
: > Supervisor's name
: > : and email address. I already have this form sent to
the
: > proper emails with a
: > : small subject. Now I need to know how to have the
: > Supervisor's name in the
: > : Subject of the outlook email, and have the
Supervisor's
: > email to be "copied".
: > : Please note that the fields will be different each
time a
: > different employee
: > : needs to submit a new request.
: > :
: > : Please Help!
: > : Soun
: >
: >
: >
 
S

Soun

Hi Mike,
There is only one Supervisor and one Email field that the new user can input
and submit. So I need to have whatever that person enters in the Subject
line and the email as a "CC:" along with the other hard coded email
addressed. Do you feel me??
 
T

Thomas A. Rowe

Has to be custom written based on what server-side scripting and mail component is
installed/supported.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
M

Mike Mueller

Soun,
The best place to start would be at google- you are going to
need a javascript for mailto script.
It most likely will need some tweaking on your end to get it
all set up

With this being a business application, I would seriously
consider going to a server-side script and a database. This
will allow alot more automatic functionality and you would
be able to log all of the requests into the database for
record keeping




: Mike,
: Do you know where I can find a script for this?
:
: --
: Regards,
: Soun
:
:
: "Mike Mueller" wrote:
:
: > Even in that scenario, you would need to use scripting
as
: > the action would contain a variable
: >
: >
: >
: > : Hi Mike,
: > :
: > : It's not that intense. There will only be one
Supervisor
: > name and email at
: > : a time in each form submit. Picture a form being
filled
: > to request a simple
: > : action from an IT team. That person will have to
input
: > their supervisor's
: > : name and supervisor's email in the fields that the
form
: > has designated.
: > : Below is and example of the code for where the form
: > currently gets sent. As
: > : you can see there is ABC1 and ABC2 emails that are
: > hardcoded already. I need
: > : the supervisor's email to be populated next to the
other
: > emails upon pressing
: > : submit button. Also the subject= has "ABC On-line
Form",
: > I need the
: > : supervisor's name coded in the front of it.
: > :
: > :
action="mailto:[email protected];[email protected]?subject=ABC
: > On-line Form"
: > : enctype="text/plain"> <font face="Book Antiqua"
: > size="3"><input type="hidden"
: > : onkeypress="return handleEnter(this, event)"
: > : ">
: > :
: > : --
: > : Regards,
: > : Soun
: > :
: > :
: > : "Mike Mueller" wrote:
: > :
: > : > The quantity of supervisors is going to be a
determining
: > : > factor in the coding of this. If there are a lot of
: > : > supervisors, you would want to use a database to
store
: > their
: > : > names/emails in. If there is only a few, you may
also
: > : > hard-code the page for that same info.
: > : > Either method will be a custom script, and that
script
: > will
: > : > vary dependant upon the server, OS, and the
available
: > : > scripting languages
: > : >
: > : >
: > : >
: > : >
message
: > : >
: >
: > : > : Hi FP experts,
: > : > :
: > : > : This one is hard! I have a form that is used to
: > submit
: > : > requests at my job.
: > : > : Two of the must have fields in the form is to type
in
: > your
: > : > Supervisor's name
: > : > : and email address. I already have this form sent
to
: > the
: > : > proper emails with a
: > : > : small subject. Now I need to know how to have the
: > : > Supervisor's name in the
: > : > : Subject of the outlook email, and have the
: > Supervisor's
: > : > email to be "copied".
: > : > : Please note that the fields will be different each
: > time a
: > : > different employee
: > : > : needs to submit a new request.
: > : > :
: > : > : Please Help!
: > : > : Soun
: > : >
: > : >
: > : >
: >
: >
: >
 
S

Soun

Hi Mike and Thomas,

Thanks for this information! I will speak to my online server admin.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top