home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

PHP mail() function

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2071
Discussions: 200,948, Posts: 2,379,408, Members: 246,309
Old May 27th, 2004, 01:09 AM   Digg it!   #1 (permalink)
Member
 
Bootlegger's Avatar
 
Join Date: Aug 2003
Posts: 91
PHP mail() function

I'm using the mail function in a contact form on a website. It used to work just fine. Then, I changed the email address to which the form sends to and it didn't work. Now, if I try the original email address that DID work--that doesn't work any more, as well. Anyone know what the problem could be?


Thanks
Bootlegger is offline   Reply With Quote
Old May 27th, 2004, 01:41 AM     #2 (permalink)
Newbie
 
filipino's Avatar
 
Join Date: May 2004
Location: Philippines
Posts: 3,894
sorry about that

maybe you forgotten something check the above code maybe you just forgot something

Last edited by filipino : May 27th, 2004 at 02:31 AM.
filipino is offline   Reply With Quote
Old May 27th, 2004, 01:45 AM     #3 (permalink)
Ultimate Member
 
davidamarkley's Avatar
 
Join Date: May 2002
Location: Joplin, MO
Posts: 2,353
Send a message via ICQ to davidamarkley Send a message via AIM to davidamarkley
Have you checked your php.ini file? If you're using the mail() function, it would default to the email address used in the php.ini file. You can normally find it in C:\WINDOWS\php.ini

If you're in linux, I can't remember which file has the info in it, but look in the docs for it.

Dave
davidamarkley is offline   Reply With Quote
Old May 27th, 2004, 02:28 AM     #4 (permalink)
Real gangstas sip on Yacc
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Suckas-ville
Posts: 4,552
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
Please post your code. There is little trouble shooting that can be done without it.

Jkrohn
__________________
Signatures blow hard
If your signature contains an ad of any kind, congratulations, you're on my ignore list.
jkrohn is offline   Reply With Quote
Old May 27th, 2004, 02:32 AM     #5 (permalink)
Member
 
Bootlegger's Avatar
 
Join Date: Aug 2003
Posts: 91
Quote:
Originally Posted by jkrohn
Please post your code. There is little trouble shooting that can be done without it.

Jkrohn


I actually figured out the problem. I was using the default email that php uses in php.ini (me@localhost.com--or something like that). Basically, all mail servers, except the one at my school were rejecting that, so I changed it, and now everything is peachy.


Thanks for the help, guys.
Bootlegger is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable IE opening automatically when i connect waynezo Technical Support 1 October 25th, 2003 10:55 AM
PHP script to search file? e980238 Webmastering and Programming 3 August 10th, 2003 10:31 PM
making a variable get used with a variable DKY Webmastering and Programming 2 June 14th, 2003 09:53 AM
Best way to produce a pie-chart for web from data ? rh71 Webmastering and Programming 11 September 17th, 2002 12:41 AM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Making Health Care Worse (174)
Is It Just Me? (2938)
The disrespect of Obama by Russian .. (23)
Wireless Televisions. (12)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Regular Build (6)
Is the PSU I received dead? (12)
radeon x850xt platinum & shader.. (5)
Print spooler problem (15)
HIS HD5770 graphic card question (15)
windows vista security holes (9)
Install XP pro and a Vista laptop ?.. (11)
Dept. of HS: NSA 'Helped' Develop V.. (15)
Recent Discussions
For Sale BFG GTX285 OC2 with 10 year .. (3)
Point and Shoot Camera Suggestions. (3)
How to convert MP3's (4)
Wireless Televisions. (12)
Graphics Card Upgrade Question (3)
Laptop with wireless problem. (2)
Internet Lost (1)
Hp Artist Edition + Matching Bag (0)
My monitor won't turn on after instal.. (0)
Asus P4G8X Mobo (6)
radeon x850xt platinum & shader 3 (5)
Xbox 360 GTA: SA disk error (1)
Is the PSU I received dead? (12)
windows 7 internet problem (5)
Multiple Restarts Required at Boot (0)
BSOD On Startup (ntoskrnl.exe) (2)
Print spooler problem (15)
Have you switched yet? (86)
screen resolution vs monitor size (2)
sms storage to PC (0)
Regular Build (6)
Open With ..... Win7 (0)
java code for fibonacci (1)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (35)
windows 7 problem (7)


All times are GMT -4. The time now is 09:49 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28