473,795 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to implement a button with Forward function in an email?

Hi List,

I am required to implement such a function in an email.

The HTML format email contains a field and a button. Once user click the
button, program will gather the information(ema il address) in the field and
forward this email to it.

I am thinking about the implemented by JavaScript/VBScript, but don't find
the solution yet. Could anybody supply some clues?

Any response is great appreciated!

-William
Jul 23 '05 #1
9 2248
You must sub-makup form element fields

down the <form .. tag

-------------

Doing so, it will be treated as such.

----------------

"William W. Cai" <wc**@nospam.xw arelabs.nospam. com> wrote in message
news:42******** *************** @news.sunsite.d k...
Hi List,

I am required to implement such a function in an email.

The HTML format email contains a field and a button. Once user click the
button, program will gather the information(ema il address) in the field and forward this email to it.

I am thinking about the implemented by JavaScript/VBScript, but don't find
the solution yet. Could anybody supply some clues?

Any response is great appreciated!

-William


Jul 23 '05 #2
William W. Cai wrote:
The HTML format email contains a field and a button. Once user click the
button, program will gather the information(ema il address) in the field
and forward this email to it.


So you want a form in an email, that when submitted will not submit to an
HTTP address, but will create a new email in the user's email client?

Forget it.

A regular form which submits to an HTTP address is dodgy enough that I
wouldn't expect it to work reliably.

I wouldn't expect JavaScript to work ever - and be very likely to trigger
spam filters.

JavaScript that controls the email client? No chance.
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 23 '05 #3
I am sorry. I used to work on distributing system. Have no experience on the
desktop application. Could you show me an example? :-P Maybe I ask too much.

-William

"commercial " <rl******@tampa bay.rr.com> wrote in message
news:dE******** *************@t ornado.tampabay .rr.com...
You must sub-makup form element fields

down the <form .. tag

-------------

Doing so, it will be treated as such.

----------------

"William W. Cai" <wc**@nospam.xw arelabs.nospam. com> wrote in message
news:42******** *************** @news.sunsite.d k...
Hi List,

I am required to implement such a function in an email.

The HTML format email contains a field and a button. Once user click the
button, program will gather the information(ema il address) in the field

and
forward this email to it.

I am thinking about the implemented by JavaScript/VBScript, but don't find the solution yet. Could anybody supply some clues?

Any response is great appreciated!

-William

Jul 23 '05 #4
Thanks David!

I understand the behavior is somewhat like spam. Then let's change the
senario as below. Any solution for that?

1. User input friends' email address to the text box
2. User click forward button
3. The forward windows shows with the friends' email address in send list.

Let's not only focus on JavaScript. Is it possible to implement?

TIA

William

"David Dorward" <do*****@yahoo. com> wrote in message
news:db******** ***********@new s.demon.co.uk.. .
William W. Cai wrote:
The HTML format email contains a field and a button. Once user click the
button, program will gather the information(ema il address) in the field
and forward this email to it.


So you want a form in an email, that when submitted will not submit to an
HTTP address, but will create a new email in the user's email client?

Forget it.

A regular form which submits to an HTTP address is dodgy enough that I
wouldn't expect it to work reliably.

I wouldn't expect JavaScript to work ever - and be very likely to trigger
spam filters.

JavaScript that controls the email client? No chance.
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

Jul 23 '05 #5
It does not matter.

Submit the input via form html,

or forward via inherent "control" capabilities.

Or have priviledge of trusted relation.

------------------

What seems to be sticking out from along the thread,
is, that emailing may be 'triggered' from an html.

Let me be frolic in this entertainment,
that this it is not, WAS NOT, part of the the design
of the www standard, means will not happen.

Sorry.


"William W. Cai" <wc**@nospam.xw arelabs.nospam. com> wrote in message
news:42******** *************** @news.sunsite.d k...
Thanks David!

I understand the behavior is somewhat like spam. Then let's change the
senario as below. Any solution for that?

1. User input friends' email address to the text box
2. User click forward button
3. The forward windows shows with the friends' email address in send list.

Let's not only focus on JavaScript. Is it possible to implement?

TIA

William

"David Dorward" <do*****@yahoo. com> wrote in message
news:db******** ***********@new s.demon.co.uk.. .
William W. Cai wrote:
The HTML format email contains a field and a button. Once user click the button, program will gather the information(ema il address) in the field and forward this email to it.


So you want a form in an email, that when submitted will not submit to an HTTP address, but will create a new email in the user's email client?

Forget it.

A regular form which submits to an HTTP address is dodgy enough that I
wouldn't expect it to work reliably.

I wouldn't expect JavaScript to work ever - and be very likely to trigger spam filters.

JavaScript that controls the email client? No chance.
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is



Jul 23 '05 #6
VK
> The HTML format email contains a field and a button. Once user click the
button, program will gather the information(ema il address) in the field and
forward this email to it.


You cannot "send" e-mails other way then via HTML form submission. But
you can prepare an e-mail with all required fields filled, and it's up
to user then send it or dismiss it.

<form method="get" action="mailto: ">
Your e-mail:<br>
<input type="text" name="to" value="fo*@mail .bar"><br>
Your message<br>
<textarea name="body" cols="32" rows="4">Blah-blah-blah</textarea>
<input type="hidden" name="subject" value="MailFrom MySite">
<input type="hidden" name="cc" value="so**@ema il.foo"><br>
<input type="submit" value="Prepare e-mail to be sent">
</form>

And don't bother with escape sequences in subject (%20 etc). They will
not be processed for a locked security hole issues (there was one smart
a** a couple of years ago).

Jul 23 '05 #7
William W. Cai wrote:
I am required to implement such a function in an email.

The HTML format email contains a field and a button. Once user click the
button, program will gather the information(ema il address) in the field and
forward this email to it.


What's the point? Email clients already have a button to forward the
email to someone else.

Jul 23 '05 #8
I'm not sure, but it sounds like Commercial is saying to use something
like this:
http://www.angelfire.com/fl5/html-tutorial/easyform.htm

Jul 23 '05 #9
William W. Cai wrote:

Please do not top post.
http://www.faqs.org/rfcs/rfc1855.html
1. User input friends' email address to the text box
2. User click forward button
3. The forward windows shows with the friends' email address in send list.


So this is exactly like a regular forward ... except the email address gets
entered first.

Not possible, and the user already knows how their forward button works -
plus they get to use their email client's address book with the regular
methods of selecting to whom the message gets forwarded.
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2770
by: Nick Tew | last post by:
Hi, Firstly, any help would be gratefully received. Im using several iframes on a single page and would like individual 'back' and 'forward' buttons located in each of the iframes which only relate to the information inside the iframe. Ive managed to put 'back' and 'forward' buttons on each of the iframe's by using:
5
2295
by: TrvlOrm | last post by:
Can any one please help me...I am new to JavaScript and I have been struggling with this code for days now and can't figure it out. I would like to get the Buttons to correspond with the action to either a) generate numbers b) Prompts a user to locate a web page c) go to previous page in history list d) Loads next page in history list e) Promps the user for a URL and loads the web page in a new window f) and Re-Sizes the window. ...
2
8096
by: Matt | last post by:
i need to implement a clear button to clear all the fields in the form, but i am thinking i can just use reset button. <input type="reset" name="reset" value="CLEAR"> The first thought is that if there is default value reset and clear will become different. My understanding is that reset means to restore the original page before
1
1850
by: andrea.demagistris | last post by:
hi, i'm andrea from italy. i'm starting with javascript. It happen that after using onload the back button of the browser doesen't go. this is the example: inside the body tag of my html page i wrote <body onload="dadove();"> dadove is a simple function to write something.
9
3635
by: jcnews | last post by:
When designing a webpage, is there a way to disable the back button? It must be possible. I am asking because there are certain web applications that I have used that require the user to never press the back button from certain screens. If the back button is pressed, it will bill for charges, even if the user is pressing the back button as a way of canceling. Another example would be Mambo CMS -- if you click the back button on...
2
2024
by: autogoor | last post by:
2. autog...@yahoo.com Aug 1, 10:55 am show options Newsgroups: comp.infosystems.www.authoring.html, comp.lang.javascript From: autog...@yahoo.com - Find messages by this author Date: 1 Aug 2005 10:55:39 -0700 Local: Mon, Aug 1 2005 10:55 am Subject: Yahoo map edit tool - how to implement Reply | Reply to Author | Forward | Print | Individual Message | Show original | Remove | Report Abuse
11
2207
by: Kai-Uwe Bux | last post by:
Hi folks, does anyone see a way to implement the following enum_limits template: template < typename EnumType > struct enum_limits { // first element in range of EnumType: static EnumType const min;
23
3868
by: mark.moore | last post by:
I know this has been asked before, but I just can't find the answer in the sea of hits... How do you forward declare a class that is *not* paramaterized, but is based on a template class? Here's what I thought should work, but apparently doesn't: class Foo; void f1(Foo* p)
0
1067
by: =?Utf-8?B?bWFya203NQ==?= | last post by:
I'm trying to develop a button in outlook 2007 that will basically let a user click on one or multiple mail items (exchange 2007) and click this button.. the email(s) then get forwarded to a specific address.. So far i have a loop that checks the selecteditem in the selection list.. and if its a mailitem.. it does: mailitem.forward() and mailitem.send(), while specifying the TO portion... This doesnt quite work.. it seems the email...
0
9522
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10443
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10165
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10002
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6783
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2921
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.