|
|
|
|
Thread title: E-mail Form isnt working? |
|
|
|
|
|
Thread tools
Search this thread
Display Modes
|
|
07-13-2007, 09:46 PM
|
#11
|
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
Posts: 3,820
|
Please, always read the Manual. That page clearly describes how to send the email to multiple recipients.
Fixing the $mailto =.... line would go a long way to resolving your issues. Turning on error reporting during development/testing would also help you tonnes. Even if you don't display PHP errors, your server will generally keep a log of the errors. If you don't know where that is, ask your host.
|
|
07-13-2007, 09:55 PM
|
#12
|
Status: Creatistic
Join date: Jul 2006
Location: Arizona
Expertise:
Software:
Posts: 1,726
|
Alright well I just took out the second e-mail part, so its just
brizoken@gmail.com ;
But its still nor working
|
|
07-13-2007, 10:05 PM
|
#13
|
Status: Senior Member
Join date: Dec 2005
Location:
Expertise:
Software:
Posts: 918
|
is that surrounded with '' quote things?
|
|
07-13-2007, 10:29 PM
|
#14
|
Status: Creatistic
Join date: Jul 2006
Location: Arizona
Expertise:
Software:
Posts: 1,726
|
It has one.. not " but a ' .
The code now is
PHP Code:
$mailto = 'brizoken@gmail.com' ;
|
|
07-13-2007, 10:38 PM
|
#15
|
Status: Member
Join date: Apr 2007
Location: Deer Park, NY
Expertise:
Software:
Posts: 123
|
if you want it to mail to more than one person, just run the mailto command twice.but change the address each time...you can achieve this via a for loop or by just copying and pasting the mail function...
|
|
07-13-2007, 11:28 PM
|
#16
|
Status: Creatistic
Join date: Jul 2006
Location: Arizona
Expertise:
Software:
Posts: 1,726
|
Ill keep that in mind, but I want to figure out why its not working..
|
|
07-13-2007, 11:36 PM
|
#17
|
Status: Very much the flyest.
Join date: Mar 2006
Location: Belgium
Expertise:
Software:
Posts: 1,171
|
Originally Posted by Dark_Prince11
if you want it to mail to more than one person, just run the mailto command twice.but change the address each time...you can achieve this via a for loop or by just copying and pasting the mail function...
|
I'm pretty sure this: $mailto = 'brizoken@gmail.com, other@email.here' ; would work too. And I image it would be faster...
|
|
07-13-2007, 11:40 PM
|
#18
|
Status: Very much the flyest.
Join date: Mar 2006
Location: Belgium
Expertise:
Software:
Posts: 1,171
|
Oh yea Faith; Your php code only handles 3 fields (name, email comments, and you have few more on your html )
|
|
07-13-2007, 11:41 PM
|
#19
|
Status: Creatistic
Join date: Jul 2006
Location: Arizona
Expertise:
Software:
Posts: 1,726
|
How do I get it to handle more? haha
|
|
07-14-2007, 03:41 AM
|
#20
|
Status: Member
Join date: Apr 2007
Location: Deer Park, NY
Expertise:
Software:
Posts: 123
|
Originally Posted by Sledneck
I'm pretty sure this: $mailto = 'brizoken@gmail.com, other@email.here' ; would work too. And I image it would be faster...
|
Good point that would work to. Didn't think of that.
|
|
|
|
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|