Wrox Programmer Forums
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 30th, 2003, 10:30 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay, I'm only going to say this one more time:

MAKE SURE IT'S SET TO E_ALL


Take care,

Nik
http://www.bigaction.org/
 
Old December 31st, 2003, 09:28 AM
Registered User
 
Join Date: Dec 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yep it is

 
Old December 31st, 2003, 01:45 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Just so there is no confusion here:
error_reporting = E_ALL & ~E_NOTICE

Means report all errors with the exception of notice level errors. I wanted to be certain you were clear on that.

It should read:
error_reporting = E_ALL

: )
Rich


:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::
 
Old December 31st, 2003, 02:03 PM
Registered User
 
Join Date: Dec 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yep , i changed the line and restarted the server.

 
Old December 31st, 2003, 07:51 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay, this is getting pretty drawn out.

Are any errors or warnings displayed when you run your script now that you have error_reporting set to E_ALL?


Take care,

Nik
http://www.bigaction.org/
 
Old December 31st, 2003, 09:21 PM
Registered User
 
Join Date: Dec 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

using

<?php

$ret = mail('[email protected]', 'Test Subject', 'Test Body');

echo "mail() returned: " . ($ret? "TRUE" : "FALSE");
?>


response is

mail() returned: FALSE

-----------------------------------------------------------------

[mail function]
; For Win32 only.
SMTP =

; For Win32 only.
sendmail_from =

; For Unix only. You may supply arguments as well (default: "sendmail -i").
sendmail_path = /usr/sbin/sendmail -iv


 
Old January 2nd, 2004, 05:38 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Comment out the Win32-specific directives.


Take care,

Nik
http://www.bigaction.org/
 
Old July 6th, 2004, 01:21 PM
Registered User
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have the same problem!

using

<?php

$ret = mail('[email protected]', 'Test Subject', 'Test Body');

echo "mail() returned: " . ($ret? "TRUE" : "FALSE");
?>


response is

mail() returned: FALSE


PHP.INI SETTINGS:

; For Win32 only.
;SMTP =

; For Win32 only.
;sendmail_from =

; For Unix only. You may supply arguments as well (default: "sendmail -i -t").
sendmail_path = /usr/sbin/sendmail -t -i

PLEASE HELP ME!!


 
Old July 6th, 2004, 11:53 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default

You can get suiteable examples of email in PHP on www.htscripts.com
I hope you wil get benifets from this site


Cheers






Love 4 all
 
Old July 14th, 2004, 05:31 PM
Authorized User
 
Join Date: Aug 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Tachyon
Default

I've been getting a lot of the help I need from PHP Architect Magazine.
http://www.phparch.com/

http://house.gearsonline.net
Why not live somewhere nice?





Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Email aftabn10 PHP How-To 2 January 30th, 2007 05:43 AM
how to send email in php? j4uk3n PHP How-To 4 November 25th, 2006 02:06 AM
email php sunsetbay Beginning PHP 7 July 16th, 2005 01:57 PM
trouble with Email and PHP Tachyon Beginning PHP 3 May 26th, 2004 03:58 AM
Q. How do I access my email with PHP? richard.york PHP FAQs 0 April 8th, 2004 09:51 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.