Search : in
By :

Outlook issue with HTML form

Last answer on Oct 28, 2009 3:33:22 am GMT Steven75, on Feb 1, 2008 9:16:33 am GMT 
 Report this message to moderators

Hello,

I have a small website with a very simple HTML form that allows user to send his data; then the webmaster receives an email with the data included in the form.

My problem is that, when ever Outlook is set up on a machine, the email button open Outlook automatically.

Is there a way to just have the form send without opening Outlook ?

Thx.

Best answers for « Outlook issue with HTML form » in :
Outlook issue with HTML form Show Outlook issue with HTML form Issue Solution Note Issue I have a small website with a very simple HTML form that allows user to send his data; then the webmaster receives an email with the data included in the form. My problem is...
Javascript - Delete a field of a form when clicking (focus) Show Delete a field from an Html form when clicking (focus) It is certainly happened to fall on an HTML form with values pre-filled for example describing the type of expected value. Though it may be useful under certain circumstances, if you have...
Uploading of files ShowUploading of files Form for sending files PHP Configuration to enable upload File recovery with PHP > The PHP language allows managing files uploading through HTML form. Form for sending files The first step is to create an html...
Escape an apostrophe under javascript ShowEscape an apostrophe under javascript In Javascript, an apostrophe (single quote) into a string itself enclosed by apostrophes cause an error. To troubleshoot, you should escape the apostrophe by heading the backslash character to get...
Outlook- No image display ShowOutlook- No image display Under Windows XP Service Pack 2, you can no more open attachment because of virus infection You can disable the feature by following below procedure: (Valid for Outlook Express) Go to Menu Tools and...
Download Outlook Connector ShowConnector Microsoft Outlook allows to use Outlook 2003 or Outlook 2007 to access and manage freely your Windows Live Hotmail or Live Mail accounts, especially the contacts. Depending on the services, the calendar task synchronization and the notes...
HTML forms ShowForms Interactive forms let web page authors give their pages interactive elements, such as for receiving messages from their readers, much like the reply cards found in some magazines. The reader enters information by filling in fields or clicking...
HTML Markup ShowHTML, A Markup Language HTML is not a programming language. Rather, it is used for describing the layout and format of content, written in the form of simple text. An HTML page is a basic text file containing tags for specifying text format,...
Hyperlinks ShowIntroduction to anchors Hypertext links or hyperlinks (anchors) are HTML elements that, when clicked on, enable readers to visit a new address. Hyperlinked text is underlined by default. Hyperlinks are what connect web pages to one another. They...

1

Htmlgirl, on Feb 22, 2008 10:36:31 am GMT
  • +1

Hi, can you be more specific about the problem please?

From what i can see, you have a form which allows every user to send an email to the webmaster. Basically, the form must have a process page like php to send the data to the email address of the webmaster. I don't understand why it will open outlook express. Outlook express opens only when you are using the mailto: command, also, the user must have outlook installed if you want it to open.

Paste your code, i'll try to fix it for you :D

Regards,
Your html girl (",)

Reply to Htmlgirl

14

agiggs, on Jan 25, 2009 8:30:24 am GMT
  • +14

Hi i'm a programmer n i'm looking for someone to discuss some issues with

Reply to agiggs

16

Ameen ASP.Net Boy, on Apr 22, 2009 6:16:37 pm BST
  • +3

It opens outlook for me. I would like to send the email without disturbing the outlook.. as u said may be php script or ASP script... am not sure how it works in HTML can you please help me with that.

<html>
<body>
<form action="MAILTO:ameen544@gmail.com" method="post" enctype="text/plain">

<h3>This form sends an e-mail to W3Schools.</h3>
Name:<br>
<input type="text" name="name"
value="yourname" size="20">
<br>
Mail:<br>
<input type="text" name="mail"
value="yourmail" size="20">
<br>
Comment:<br>
<input type="text" name="comment"
value="yourcomment" size="40">
<br><br>
<input type="submit" value="Send">
<input type="reset" value="Reset">

</form>
</body>
</html>


Thanks!
AMeen

Reply to Ameen ASP.Net Boy

21

luiz, on Aug 20, 2009 3:52:43 pm BST

Teste

Reply to luiz

25

 shafi, on Oct 28, 2009 3:33:22 am GMT
  • +1

How i can create emailto form with out opening outlook

Reply to shafi

2

cme11, on Apr 3, 2008 4:45:50 pm BST
  • +5

Did you ever get this problem fixed? I'm having the same issue.

Reply to cme11

3

Mr.HTML, on May 21, 2008 5:18:42 am BST

I too have the same problem as I use the mailto: method

Reply to Mr.HTML

4

Wolfgang, on Jun 12, 2008 3:12:53 pm BST
  • +7

I'm using a very simple mailto: webform at work and everyone has Outlook open anyway, but rather than just send the form data, some people are having a blank e-mail opened up with nothing more than my e-mail address in the To line. Outlook 2007 settings are all the same across the company (set by procedures when people log in) so I can't figure out why some people have issues and the rest are fine. Any ideas?

Reply to Wolfgang

7

Fiona, on Jul 16, 2008 9:47:19 am BST
  • +1

Having same problems as Wolfgang.
Desperately need help to figure it out!
Please reply if you can help.
Fiona
fiona.parker@iinet.net.au

Reply to Fiona

6

HTML Dude, on Jun 17, 2008 12:38:42 am BST
  • +3

I am very very very very very new to HTML I would like to learn how to send forms to e-mails but I dont want Outlook to come up and ask them if they want to send it. I just want it sent to my e-mail!

Reply to HTML Dude

18

Claire, on Jun 9, 2009 7:18:17 am BST
  • +1

I am very very very very very new to HTML I would like to learn how to send forms to e-mails but I dont want Outlook to come up and ask them if they want to send it. I just want it sent to my e-mail!

Hi Dude,
Did you ever figure out how to submit the form without outlook asking them if they will allow an email to be sent? I am trying to figure out how to do this now.

Thanks

Claire

Reply to Claire

8

BUMP, on Sep 15, 2008 1:14:09 pm BST

BUMP

Reply to BUMP

9

Cameron Smith, on Sep 24, 2008 3:24:52 am BST
  • +3

Well, I may not know the Outlook Express issue, but I do know why your e-mail is blank. Let me show you an example...

<html>
<head>
<title> My Simple Form </title>
</head>

<body>
<form action="mailto:youraddress@yourdomain.com" method="POST" enctype="text/plain">
Username: <input type="text" size="12" maxlength="12" name="UserName"> <br />
Password: <input type="password" size="12" maxlength="12" name="PassWord"> <br />
</form>
</body>
</html>

The above example shows how to send an e-mail with data entered into it, but I do not understand why it opens Outlook Express. Make sure you inclue method="POST" when you call a form.

Reply to Cameron Smith

10

rbnzdave, on Sep 30, 2008 4:19:54 am BST
  • +2

The mailto:<address> is a mail link. not a submission routine for a form. typically, this would be in a link, not a form element. I'm surprised the above example did anything at all.

To send email using a form you will need to have some script on the page, either in the page as javascript or as a server side language to process the posted data. look up php or asp if you want to do it yourself, but its more likely whatever package you have installed for a website will have the ability to deal with it.

Reply to rbnzdave

12

sprky, on Nov 27, 2008 9:43:03 am GMT
  • +1

The mailto: action is valid for a form - although unreliable - if you think it isnt you need to read the html specs again. However, the specs dont define what a non-http uri should do it is up to the user-agent which is why its unreliable.

Reply to sprky

11

Cameron Smith, on Sep 30, 2008 5:11:25 pm BST
  • +8

Yes, I have fixed this problem as well using PHP. It was very simple, all you have to do is store the names of the fields, send the form to another page (EX: mail.php) then use the following code:

<?php
$firstname = $_POST['FirstName'];
$lastname = $_POST['LastName'];
$age = $_POST['Age'];
$email = $_POST['EMAIL'];

$message .= "First name: \n";
$message .= $firstname;
$message .= "\n";
$message .= "Last name: \n";
$message .= $lastname;
$message .= "\n";
$message .= "Age: \n";
$message .= $age;

mail("youremail@email.com", "Subject: subject", $message, "From: $email");
Header("Location: index.html");
?>

Reply to Cameron Smith

15

Andrei, on Jan 29, 2009 9:35:04 pm GMT

I got the same problem too can you help me please... i have a form and i can't make it to send me a mail

Reply to Andrei

13

joshsize89, on Dec 19, 2008 9:25:33 am GMT
  • +1

The problem is that you need a server to host a CGI Program to send. I am currently working on a project (www.starsforcollege.com) that will be up in a few days that uses an extensive HTML Form. I used the CGI Progam that came with the host (BlueHost - they are fantastic) and it worked seamlessly. The response you get in your inbox is a bit messy, but thats what diligent webmasters are for (plus it's a good way to keep some small but steady money coming in.)

Reply to joshsize89

19

szdfsdf, on Jun 23, 2009 12:56:14 pm BST

Sdfsdfsdfsdf

Reply to szdfsdf

20

Karen, on Jul 2, 2009 5:47:55 pm BST

I am ok with the form opening in outlook. My problem is with Vista and Outlook the form opens as an empty page. what's up with that?
Karen

Reply to Karen

22

bradlington, on Aug 26, 2009 3:53:39 pm BST

I am now having the same issue. Same form, used to open an email containing all the information enterd in the form, now it opens a blank e-mail without the information. HELP!

Reply to bradlington

24

Vic, on Sep 19, 2009 8:11:18 pm BST

Be sure to use the "POST" notation:
<FORM action="mailto:youremail?Subject=Whatever" method="POST" enctype="text/plain">
That made the field information appear in the email for me, at least.

BTW, I have still not figured out how to make this work when the generic user is using web-based mail.

--Vic

Reply to Vic

23

robert Lamb, on Sep 4, 2009 8:58:29 pm BST

I am having the same problem the reason it opens in outlook express is because the tag MAILTO: But im using free hosting so its pretty hard for me to do php forms beacause idont know php anyone please help me to make a form or give me a really good free hosting site

Roberts COmputer Services
onetechmaster.com
robert@onetechmaster.com
support@onetechmaster.com

Reply to robert Lamb