PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 9th, 2000, 08:16 AM
mandotree mandotree is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Posts: 3 mandotree User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,
I am trying to use my php scripts to send email but am having difficulty....I used to use the unix 'sendmail' program when writing PERL and I also have it installed now on my machine.

When I try to use the mail() funtion although it does not give me an error it does not send the mail either....

Any ideas??

thanks

Reply With Quote
  #2  
Old March 9th, 2000, 11:19 AM
mandotree mandotree is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Posts: 3 mandotree User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
To add more info to that...
I am using a machine with php3 installed running apache..

in the php.ini file i have set the
'sendmail_path = /usr/lib/sendmail'

and if I run the phpinfo() function it sees the path correctly, it also gives the correct path to the php.ini file (if I change anything I see the changes in the result of phpinfo())

but still when I have a simple script that does nothing except send an email like this:
<?php
if (mail("david@21network.com", "Test", "test")) :
echo ("Sent");
endif;
?>

anyideas??? I am really stuck...
Dave

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > Sending email.....using mail() does not seem to work

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap