Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Html Tags > Re: Help get fo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 5 Topic 388 of 441
Post > Topic >>

Re: Help get form POST to my e-mail

by "Jim Michaels" <jmichae3@[EMAIL PROTECTED] > Feb 4, 2006 at 12:54 AM

"Thomas Troutwine" <ttofohio@[EMAIL PROTECTED]
> wrote in message 
news:nPZvf.6520$M%4.3024@[EMAIL PROTECTED]
> Thanks Dave for the excellent source.
>
> "David Dorward" <dorward@[EMAIL PROTECTED]
> wrote in message
> news:dpmcm7$bid$1$8302bc10@[EMAIL PROTECTED]
>> 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@[EMAIL PROTECTED]
" >
>>
>> http://www.isolani.co.uk/articles/mailto.html
>>

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

or this (strict) 
http://pear.php.net/package/Mail/docs/1.1.3/Mail/Mail_RFC822.html

An alternative to the mailparse_rfc822_parse_addresses() function is 
Mail_RFC822::parseAddressList() 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@[EMAIL PROTECTED]
>";

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




>> -- 
>> David Dorward       <http://blog.dorward.me.uk/>

>> <http://dorward.me.uk/>
>>                      Home is where the ~/.bashrc is
>
>
 




 5 Posts in Topic:
Help get form POST to my e-mail
"Thomas Troutwine&q  2006-01-06 17:15:18 
Re: Help get form POST to my e-mail
David Dorward <dorward  2006-01-06 18:23:25 
Re: Help get form POST to my e-mail
"Thomas Troutwine&q  2006-01-08 01:22:27 
Re: Help get form POST to my e-mail
"Jim Michaels"   2006-02-04 00:54:32 
Re: Help get form POST to my e-mail
"MyndPhlyp" <  2006-01-08 12:02:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 19:42:05 CDT 2008.