This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > FrontPage Programming > March 2007 > Copy Email in an "email formfield" to send along w/other set alrea
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Copy Email in an "email formfield" to send along w/other set alrea
|
|
|
| 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
| |
| Mike Mueller 2007-03-06, 6:16 pm |
| 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
"Soun" <Soun@discussions.microsoft.com> wrote in message
news:F58701E0-7A8F-4A09-A4E7-7F9CA1DD42A8@microsoft.com...
: 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
| |
|
| 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:abc1@noname.com;abc2@noname.com?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
>
>
>
>
> "Soun" <Soun@discussions.microsoft.com> wrote in message
> news:F58701E0-7A8F-4A09-A4E7-7F9CA1DD42A8@microsoft.com...
> : 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
>
>
>
| |
| Mike Mueller 2007-03-06, 6:16 pm |
| Even in that scenario, you would need to use scripting as
the action would contain a variable
"Soun" <Soun@discussions.microsoft.com> wrote in message
news:AA9AFB66-B9B5-40EB-8F76-355AA11C71BC@microsoft.com...
: 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:abc1@noname.com;abc2@noname.com?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
: >
: >
: >
: >
: > "Soun" <Soun@discussions.microsoft.com> wrote in message
: >
news:F58701E0-7A8F-4A09-A4E7-7F9CA1DD42A8@microsoft.com...
: > : 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
: >
: >
: >
| |
|
| 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??
--
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
>
>
>
>
> "Soun" <Soun@discussions.microsoft.com> wrote in message
> news:F58701E0-7A8F-4A09-A4E7-7F9CA1DD42A8@microsoft.com...
> : 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
>
>
>
| |
|
| 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
>
>
> "Soun" <Soun@discussions.microsoft.com> wrote in message
> news:AA9AFB66-B9B5-40EB-8F76-355AA11C71BC@microsoft.com...
> : 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:abc1@noname.com;abc2@noname.com?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
> : >
> : >
> : >
> : >
> : > "Soun" <Soun@discussions.microsoft.com> wrote in message
> : >
> news:F58701E0-7A8F-4A09-A4E7-7F9CA1DD42A8@microsoft.com...
> : > : 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
> : >
> : >
> : >
>
>
>
| |
| Thomas A. Rowe 2007-03-06, 6:16 pm |
| 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
==============================================
"Soun" <Soun@discussions.microsoft.com> wrote in message
news:76CBBA1B-EB23-4CF7-BF4D-A3B298398EBD@microsoft.com...[color=darkred]
> Mike,
> Do you know where I can find a script for this?
>
> --
> Regards,
> Soun
>
>
> "Mike Mueller" wrote:
>
| |
| Mike Mueller 2007-03-06, 6:16 pm |
| 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
"Soun" <Soun@discussions.microsoft.com> wrote in message
news:76CBBA1B-EB23-4CF7-BF4D-A3B298398EBD@microsoft.com...
: 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
: >
: >
: > "Soun" <Soun@discussions.microsoft.com> wrote in message
: >
news:AA9AFB66-B9B5-40EB-8F76-355AA11C71BC@microsoft.com...
: > : 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:abc1@noname.com;abc2@noname.com?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
: > : >
: > : >
: > : >
: > : >
: > : > "Soun" <Soun@discussions.microsoft.com> wrote in
message
: > : >
: >
news:F58701E0-7A8F-4A09-A4E7-7F9CA1DD42A8@microsoft.com...
: > : > : 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
: > : >
: > : >
: > : >
: >
: >
: >
| |
|
| Hi Mike and Thomas,
Thanks for this information! I will speak to my online server admin.
--
Regards,
Soun
"Mike Mueller" wrote:
> 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
>
>
>
>
> "Soun" <Soun@discussions.microsoft.com> wrote in message
> news:76CBBA1B-EB23-4CF7-BF4D-A3B298398EBD@microsoft.com...
> : 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
> : >
> : >
> : > "Soun" <Soun@discussions.microsoft.com> wrote in message
> : >
> news:AA9AFB66-B9B5-40EB-8F76-355AA11C71BC@microsoft.com...
> : > : 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:abc1@noname.com;abc2@noname.com?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
> : > : >
> : > : >
> : > : >
> : > : >
> : > : > "Soun" <Soun@discussions.microsoft.com> wrote in
> message
> : > : >
> : >
> news:F58701E0-7A8F-4A09-A4E7-7F9CA1DD42A8@microsoft.com...
> : > : > : 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
> : > : >
> : > : >
> : > : >
> : >
> : >
> : >
>
>
>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|