HighDots Forums  

Help get form POST to my e-mail

alt.html.tags alt.html.tags


Discuss Help get form POST to my e-mail in the alt.html.tags forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Thomas Troutwine
 
Posts: n/a

Default Help get form POST to my e-mail - 01-06-2006 , 12:15 PM






Hi. I can't seem to get the code right to have the submit button send form
results to my e-mail address.
Code at beginning of form:
<FORM METHOD=POST ACTION="mailto:ttofohio (AT) earthlink (DOT) net" >

Code to submit:
<INPUT TYPE="submit" VALUE="Submit the Form">
</FORM>

This opens my e-mail program with a file attached but does not address or
send the e-mail automatically. Should it? I could use some help. Thanks.



Reply With Quote
  #2  
Old   
David Dorward
 
Posts: n/a

Default Re: Help get form POST to my e-mail - 01-06-2006 , 01:23 PM






Thomas Troutwine wrote:

Quote:
Hi. I can't seem to get the code right to have the submit button send form
results to my e-mail address.
Code at beginning of form:
FORM METHOD=POST ACTION="mailto:ttofohio (AT) earthlink (DOT) net"
http://www.isolani.co.uk/articles/mailto.html

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Reply With Quote
  #3  
Old   
Thomas Troutwine
 
Posts: n/a

Default Re: Help get form POST to my e-mail - 01-07-2006 , 08:22 PM



Thanks Dave for the excellent source.

"David Dorward" <dorward (AT) yahoo (DOT) com> wrote

Quote:
Thomas Troutwine wrote:

Hi. I can't seem to get the code right to have the submit button send
form
results to my e-mail address.
Code at beginning of form:
FORM METHOD=POST ACTION="mailto:ttofohio (AT) earthlink (DOT) net"

http://www.isolani.co.uk/articles/mailto.html

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/
Home is where the ~/.bashrc is



Reply With Quote
  #4  
Old   
MyndPhlyp
 
Posts: n/a

Default Re: Help get form POST to my e-mail - 01-08-2006 , 07:02 AM




"Thomas Troutwine" <ttofohio (AT) earthlink (DOT) net> wrote

Quote:
Hi. I can't seem to get the code right to have the submit button send form
results to my e-mail address.
Code at beginning of form:
FORM METHOD=POST ACTION="mailto:ttofohio (AT) earthlink (DOT) net"

Code to submit:
INPUT TYPE="submit" VALUE="Submit the Form"
/FORM

This opens my e-mail program with a file attached but does not address or
send the e-mail automatically. Should it? I could use some help. Thanks.
Maybe using Earthlink's mailto CGI interface would be a better choice.

http://help.earthlink.net/websupport/member/menu.html





Reply With Quote
  #5  
Old   
Jim Michaels
 
Posts: n/a

Default Re: Help get form POST to my e-mail - 02-04-2006 , 03:54 AM




"Thomas Troutwine" <ttofohio (AT) earthlink (DOT) net> wrote

Quote:
Thanks Dave for the excellent source.

"David Dorward" <dorward (AT) yahoo (DOT) com> wrote in message
news:dpmcm7$bid$1$8302bc10 (AT) news (DOT) demon.co.uk...
Thomas Troutwine wrote:

Hi. I can't seem to get the code right to have the submit button send
form
results to my e-mail address.
Code at beginning of form:
FORM METHOD=POST ACTION="mailto:ttofohio (AT) earthlink (DOT) net"

http://www.isolani.co.uk/articles/mailto.html

if you are thinking of using PHP, combine these two:
http://www.phpclasses.org/browse/package/13.html (weak address check)

or this (strict)
http://pear.php.net/package/Mail/doc...il_RFC822.html

An alternative to the mailparse_rfc822_parse_addresses() function is
Mail_RFC822:arseAddressList() from Pear:
http://pear.php.net/manual/en/package.mail.mail.php
It parses the string and returns a structured tree of data. Returns a
pear_error object if the string is not valid.
Example:
require_once "PEAR.php";
require_once "Mail/RFC822.php";

$addr= "Hi <hi (AT) world (DOT) org>";

$res= Mail_RFC822:arseAddressList($addr);
if (PEAR::isError($res)) die("NOT VALID: " . $res->getMessage() . "\n");
echo "OK. Data:\n";




Quote:
--
David Dorward <http://blog.dorward.me.uk/
http://dorward.me.uk/
Home is where the ~/.bashrc is





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.