PDA

View Full Version : how do i forward a email to a cell phone ?



Just Justin
October 16th, 2006, 09:16 AM
i have a form on a site, when the user hits the submit button, how do i forward what they just filled out to a cell phone ?

jasonhardwick
October 16th, 2006, 05:02 PM
any luck with this?

Digitalosophy
October 16th, 2006, 05:20 PM
In the email address just use their cell phone email

SOmething like

555-555-5555@verizon.net

And it will come in as a text message. I did this with Flash and PHP so I know it works, just not sure on how many different kinds of phones/services it works on.

lorren.biffin
October 16th, 2006, 05:37 PM
This is interesting...how would i know what my "phones email" is if i use Cingular?

Digitalosophy
October 16th, 2006, 06:17 PM
This is interesting...how would i know what my "phones email" is if i use Cingular?

Well Cingulart used to be at&t

So I know it was number@wireless.att.net so it may be able to swap the att and replace it with cingular. Did you check their site? Or just give them a call.

hl
October 16th, 2006, 06:51 PM
Or you could send an email by text message from your phone and look at the domain ;)

Just Justin
October 16th, 2006, 06:53 PM
i tried this with php and it didnt work

i made a simple form and wehn submitted it goes to a php page - heres the php code - any suggestions ? OH - i have verizon service

<title>Contact Me</title>
<body bgcolor="#666666" text="#FFFFFF">
<img src="images/error.gif" width="137" height="44"> <br>
<?php

$subject = 'A question from yo site fool';
$emailadd = '410-444-444@verizon.net';
$url = 'thankyou.html';
$req = '1';


$text = "Results from form:\n\n";
$space = ' ';
$line = '
';
foreach ($_POST as $key => $value)
{
if ($req == '1')
{
if ($value == '')
{echo "$key is empty";die;}
}
$j = strlen($key);
if ($j >= 20)
{echo "Name of form element $key cannot be longer than 20 characters";die;}
$j = 20 - $j;
for ($i = 1; $i <= $j; $i++)
{$space .= ' ';}
$value = str_replace('\n', "$line", $value);
$conc = "{$key}:$space{$value}$line";
$text .= $conc;
$space = ' ';
}
mail($emailadd, $subject, $text, 'From: '.$emailadd.'');
echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';
?>

hl
October 16th, 2006, 07:30 PM
No (-)s and I believe it's vzw.net, let me check.