Ask a Question related to PHP Development, Design and Development.
-
Seroxat Mad #1
form Mail help...
Hi
I am using this script on my website...
$msg = array($name, $address, $town, $county, $postcode, $email, $phone,
$comments);
$name = 'name';
$address = 'address';
$town = 'town';
$county = 'county';
$postcode = 'postcode';
$email = 'email';
$phone = 'phone';
$comments = 'comments';
Using
mail($to, $subject, join("\n", $msg), $mailheaders);
works fine
the $to is my email address.
if i then try to email the person who filled the form out i.e mail($email,
$subject);
doent work!!!
Any ideas...
Regards
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
Version: 6.0.525 / Virus Database: 322 - Release Date: 09/10/2003
Seroxat Mad Guest
-
Need help with Mail Form and ASP
Can someone assist me in getting my contact form on my Flash site working. I have a name, email, phone and a comments field and I want to submit... -
Form to Mail
Anyone familiar with this extension? I downloaded Form to Mail from HDW. I installed it, and then restarted Dreamweaver (I'm running Dreamweaver... -
mail to form php
Greetings , i have been working on DW for a while now , and i have just discovered the magic of extensions =\ I got a Qustion though , Is there... -
mail form with attachment
I bought the extension from FelixOne that allowed me to create a form and then have it mailed with an attachment to an email address of my choosing.... -
Mail form...
Dear allknowing experts ( ;-), i have a challenging question for you guys wich i hope someone can answer. I wont get fired if i cant get it to... -
Paul Kirby #2
Re: form Mail help...
"Seroxat Mad" <seroxatmad@hotmail.com> wrote in message
news:HLsjb.11105$kA.2746098@wards.force9.net...[SNIP]> Hi
>
> I am using this script on my website...
>
> $msg = array($name, $address, $town, $county, $postcode, $email, $phone,
> $comments);
> $name = 'name';
> $address = 'address';
> $town = 'town';
> $county = 'county';
> $postcode = 'postcode';
> $email = 'email';
> $phone = 'phone';
> $comments = 'comments';
>
> Using
> mail($to, $subject, join("\n", $msg), $mailheaders);
> works fine
> the $to is my email address.
> if i then try to email the person who filled the form out i.e mail($email,
> $subject);
> doent work!!!
>
> Any ideas...
>
> Regards
>
Have you tried moving the following line to after you have set the 8
variables:
$msg = array($name, $address, $town, $county, $postcode, $email,
$phone,$comments);
If you dont $msg will be a blank array if that.
Hope that helps
Paul
Paul Kirby Guest



Reply With Quote

