473,385 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Custom mail formatting using form

I'm trying to mail form data by using the technique:

form.action="mailto:address?Subject=subject&body=b odyText"

(the placeholders above are obviously not real :)).

The thing is I want to customize the body text, but the submit action
of the form always overwrites any body text I set in the line above
with the default output of the form (a fieldname=value list).

How can I implement mailing from the form so that I can do more
flexible formatting of the body text?

Thanks.
Petre
Jul 20 '05 #1
3 2623
Have you tried changing the method to post ?
"Petre Huile" <ph****@yahoo.ca> wrote in message
news:5a*************************@posting.google.co m...
I'm trying to mail form data by using the technique:

form.action="mailto:address?Subject=subject&body=b odyText"

(the placeholders above are obviously not real :)).

The thing is I want to customize the body text, but the submit action
of the form always overwrites any body text I set in the line above
with the default output of the form (a fieldname=value list).

How can I implement mailing from the form so that I can do more
flexible formatting of the body text?

Thanks.
Petre

Jul 20 '05 #2
Petre Huile wrote:
I'm trying to mail form data by using the technique:

form.action="mailto:address?Subject=subject&body=b odyText"

(the placeholders above are obviously not real :)).

The thing is I want to customize the body text, but the submit action
of the form always overwrites any body text I set in the line above
with the default output of the form (a fieldname=value list).

How can I implement mailing from the form so that I can do more
flexible formatting of the body text?

Thanks.
Petre

Since there is no consistent browser response to mailto: actions, you
should generally avoid the construction.

Jul 20 '05 #3
In article <5a*************************@posting.google.com> ,
ph****@yahoo.ca says...
I'm trying to mail form data by using the technique:

form.action="mailto:address?Subject=subject&body=b odyText"

(the placeholders above are obviously not real :)).

The thing is I want to customize the body text, but the submit action
of the form always overwrites any body text I set in the line above
with the default output of the form (a fieldname=value list).

How can I implement mailing from the form so that I can do more
flexible formatting of the body text?


Use a server-side solution. What you're trying to do is unpredictable
at best.

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
Jul 20 '05 #4

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

Similar topics

11
by: JN | last post by:
Hello, I use an ASP mail object to send orders filled online to a recipient via an e-mail. I would like to know if it's possible to format the way the order looks in an e-mail? I tried the...
1
by: E J | last post by:
Does anyone know of a way to wrap custom tags around selected text using execCommand or otherwise? I am developing a rich text editor for use in a web site and while there are a few decent ones...
3
by: StuartD | last post by:
I have developed an Access database and wish to e-mail a form to a central address advising of changes etc. Have the form and command button the form with a macro behind using SendObject command....
2
by: Sean Mullaly | last post by:
I have a custom Access menu with sub-menus and sub-sub-menus. (220 items). Right now I have created 220 Functions and attached each individual Function to the specific OnAction property. The...
1
by: glenn | last post by:
I have written as a test a customer class that has all the necessary field handling and formatting routines in it that I need. I have dataaccess class that controls reading and writing the class...
19
by: Dales | last post by:
I have a custom control that builds what we refer to as "Formlets" around some content in a page. These are basically content "wrapper" sections that are tables that have a colored header and...
2
by: rickholt | last post by:
Many years ago at IBM we had a text formatting language (DCF) which let you specify all sorts of microcommands to a page formatter. Not particularly exciting, but it was also a primitive...
4
by: k.visube | last post by:
In my ASP application,i need to send a formatted text mail (i.e with newline characters). here in my application i used a function in javascript which construts the mail body sample snippet ...
11
by: ARC | last post by:
Hello all, My app has an e-mailing feature where you can e-mail reports, as well as a bulk e-mail feature for e-mailing all customers (as separate e-mails). I allow the user to set the subject...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.