Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Lionsanime Directory   Improve your ranking, submit to directories   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 06-11-2004, 12:43 PM   #1 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
[solved] mailform

anyone have any idea why this wouldn't send? i'm thinking it might be because of the [BOLD] line... please let me know

[code:1:3f19a1b0e5]<?php

$emailto = stripslashes($_POST['emps']);

[b]$mailto .= "$emailto@uniqueemployment.com";[/b]
$name = stripslashes($_POST['name']);
$emailfrom = stripslashes($_POST['email']);
$subject = stripslashes($_POST['subject']);
$body = stripslashes($_POST['body']);


$message = "This email is submitted from a http://www.uniqueemployment.com/ viewer. It is an automatted page and has not been filtered before it was sent to you. If you believe this email was sent to you with wrongful intent, please notify your network administrator.\n\n";
$message .= "Sender: <$name> $emailfrom\n";
$message .= "Subject: $subject\n";
$message .= "Message: $body\n\n";

mail($mailto, $subject, $message, "From: $name <$emailfrom>");
?>

<?php
$random_mainimage = rand(1, 10);
?>[/code:1:3f19a1b0e5]
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 06-11-2004, 01:06 PM   #2 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
do
[code:1:c152354415]$mailto = $emailto . "@uniqueemplyment.com";[/code:1:c152354415]
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-11-2004, 01:18 PM   #3 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
Quote:
Originally Posted by theSpear
do
[code:1:91faa583c5]$mailto = $emailto . "@uniqueemplyment.com";[/code:1:91faa583c5]
didn't work... i noticed there was a spelling issue ... it's supposed to be @uniqueemployment.com but that corrections still didn't help any
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-11-2004, 01:51 PM   #4 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
hmm.. are you sure its not just sending it to a spam filter or something.. you need more headers to pass most spam filters like Reply-To and Content-Type
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-11-2004, 01:52 PM   #5 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
nope... our network admin says we have no spam filters... grrr this is frustrating me to no end!
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-11-2004, 01:52 PM   #6 (permalink)
Inactive
 
Join Date: 04-15-04
Posts: 499
iTrader: 0 / 0%
Latest Blog:
None

wbstein is a jewel in the roughwbstein is a jewel in the roughwbstein is a jewel in the roughwbstein is a jewel in the roughwbstein is a jewel in the roughwbstein is a jewel in the rough
some hosts disable mailform.
wbstein is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-11-2004, 01:59 PM   #7 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
on the phone with the host right now... he told me PHP is disabled... lol little does he know everything I HAVE is PHP... *shakes head* i'll let you know what I find out
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-11-2004, 02:06 PM   #8 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
"i don't see you on the server!!"
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-11-2004, 02:19 PM   #9 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
"beep, beep, beep" THEY HUNG UP!!!!!!!!!!!!!!!!!
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-14-2004, 06:55 AM   #10 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
ok... just got off the phone with the host again... he checked php.ini and nothing has been disabled... i also made him check the outgoing smtp log to see if anything was coming out, but not going anywhere... and he doesn't see any abnormal activity or any activity coming from a script... any ideas? the script looks just fine but i'm not sure why i'm not getting this to work... and I don't get any errors when the script is submitted
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-14-2004, 07:16 AM   #11 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
I tested your script above and it worked for me. I'm thinking the problem is with the actual form you are using and not the script.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-14-2004, 07:21 AM   #12 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
Quote:
Originally Posted by Jazzee
I tested your script above and it worked for me. I'm thinking the problem is with the actual form you are using and not the script.
hmm... maybe... will you take a look at it for me and see if you see any problems? http://www.uniqueemployment.com/beta...ctus-email.php
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-14-2004, 07:44 AM   #13 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
It works perfectly for me. I copied the form and the script over to my server.

In the script I changed $emailto@uniqueemployment.com to $emailto@jazzeedesign.com

Then in for form itself, I changed <option value="garryb"> to <option value="jazzee">

I then filled out the form and the email came to jazzee@jazzeedesign.com.

I put Testname for name, testemail@testemail.com for my email address and testsubjectline for the subject line. I left the comments box the way it was.

This is the email I received:

Quote:
This email is submitted from a http://www.uniqueemployment.com/ viewer. It is an automatted page and has not been filtered before it was sent to you. If you believe this email was sent to you with wrongful intent, please notify your network administrator.

Sender: <Testname> testemail@testemail.com
Subject: testsubjectline
Message: Type your message here

Your script works.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-14-2004, 07:54 AM   #14 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
grr... this is driving me insane... any ideas on what may be wrong and why i'm not getting it?

in the script you created did you have [code:1:02fd0a5c18]$mailto = $emailto . "@jazeedesign.com"[/code:1:02fd0a5c18] or [code:1:02fd0a5c18]$mailto = $emailto@jazeedesign.com[/code:1:02fd0a5c18]
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-14-2004, 07:58 AM   #15 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
$mailto = $emailto@jazeedesign.com is the one that works.

Tried the first one first and it sent the email to jazzee . @jazzeedesign.com
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-14-2004, 08:02 AM   #16 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
ok... now's i'm really confused... i changed the variables like you did WITHOUT changing the [code:1:6ef26bd115]$mailto = $emailto . "@uniqueemployment.com[/code:1:6ef26bd115] but changed it to my send to my yahoo account... and it worked just fine... then turned around and changed it back to my uniqueemployment.com account... and it's NOTworking... *SCREAMS*
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-14-2004, 08:06 AM   #17 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Gotta be that email, then.

This may be a dumb question, but you are sure the uniqueemployment email addresses work, right?
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-14-2004, 08:10 AM   #18 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
i thought it was a dumb question too... BUT i just tried emailing myself FROM myself and haven't received anything yet... i'm on the phone with the host company... this is becoming the biggest pain in the a$$
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-14-2004, 08:14 AM   #19 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
ok... so the email worked just took a while... still on the phone with tech support
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-14-2004, 08:34 AM   #20 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Did they help you?
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post