Caucho Forums

Caucho Forums (http://forum.caucho.com//index.php)
-   Quercus (http://forum.caucho.com//forumdisplay.php?f=5)
-   -   PHP Mail setup (http://forum.caucho.com//showthread.php?t=18910)

n24005 09-29-2010 12:31 PM

PHP Mail setup
 
Hi,

I am setting up a new development PC and I have Resin 3.1.14 installed and in general working fine.. Most of my PHP runs, except for mail...

mail("foo@yahoo.com", "Test message", "this is a test", "From: foo@yahoo.com");

generates

/C:/Documents and Settings/my_store.php:254: Warning: Invalid Addresses [mail]

IIS is installed on my PC, SMTP service is started... So, I am guessing I am missing something in the resin configuration...

I searched these forums and the web. None of the suggestions seemed to apply.

Thanks in advance for any suggestions.

Jeff


Quercus

PHP Version => 5.2.0
System => Windows XP 5.1 x86
Build Date => 20100223T025709
Configure Command => n/a
Server API => CGI
Virtual Directory Support => disabled
Configuration File (php.ini) Path => WEB-INF/php.ini
PHP API => 20031224
PHP Extension => 20041030
Debug Build => no
Thread Safety => enabled
Registered PHP Streams => php, file, http, https

PHP Variables
Variable Value
_SERVER["USERPROFILE"] C:\Documents and Settings\myname
_SERVER["USERDNSDOMAIN"] mydomain.COM
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_SERVER["DYLD_LIBRARY_PATH"] C:\resin-3.1.10\libexec
_SERVER["TEMP"] C:\DOCUME~1\JFRIED~1\LOCALS~1\Temp
_SERVER["SystemDrive"] C:
_SERVER["ProgramFiles"] C:\Program Files
_SERVER["DEFLOGDIR"] C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
_SERVER["Path"] C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C :\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Symantec\pcAnywhere\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\Common Files\Northgate;C:\Program Files\HP\svctools\common\wccproxy\bin;C:\Program Files\HP\svctools\common\bin;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\QuickTime\QTSystem\;C:\resin-3.1.10\bin;C:\resin-3.1.10\win32;C:\resin-3.1.10\win64;\openssl\bin
_SERVER["HOMEDRIVE"] H:
_SERVER["PROCESSOR_REVISION"] 0401
_SERVER["CLIENTNAME"] Console
_SERVER["USERDOMAIN"] mydomain
_SERVER["QTJAVA"] C:\Program Files\Java\jre6\lib\ext\QTJava.zip
_SERVER["ALLUSERSPROFILE"] C:\Documents and Settings\All Users
_SERVER["VSEDEFLOGDIR"] C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
_SERVER["Isuser"] C:\DOCUME~1\JFRIED~1\LOCALS~1\Temp\{D58CFA03-925A-4BE2-9DC8-CE23E4787C34}\{BCE9F441-9027-4911-82E0-5FB28057897D}\_isuser.dll
_SERVER["PROCESSOR_IDENTIFIER"] x86 Family 15 Model 4 Stepping 1, GenuineIntel
_SERVER["LD_LIBRARY_PATH"] C:\resin-3.1.10\libexec
_SERVER["RoxioCentral"] C:\Program Files\Common Files\Roxio Shared\9.0\Roxio Central33\
_SERVER["SESSIONNAME"] Console
_SERVER["TMP"] C:\DOCUME~1\JFRIED~1\LOCALS~1\Temp
_SERVER["CommonProgramFiles"] C:\Program Files\Common Files
_SERVER["CLASSPATH"] C:\resin-3.1.10/lib/resin.jar;.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip;C:\resin-3.1.10\classes;C:\resin-3.1.10\lib\resin.jar;C:\Program Files\Java\jdk1.6.0_21\lib\tools.jar;C:\Program Files\Java\jdk1.6.0_21\jre\lib\rt.jar;C:\resin-3.1.10\lib\activation.jar;C:\resin-3.1.10\lib\ejb-15.jar;C:\resin-3.1.10\lib\hessian.jar;C:\resin-3.1.10\lib\j2ee-management-10.jar;C:\resin-3.1.10\lib\javamail-141.jar;C:\resin-3.1.10\lib\jaxrpc-15.jar;C:\resin-3.1.10\lib\jaxws-api.jar;C:\resin-3.1.10\lib\jca-15.jar;C:\resin-3.1.10\lib\jms-11.jar;C:\resin-3.1.10\lib\jpa-15.jar;C:\resin-3.1.10\lib\jsdk-15.jar;C:\resin-3.1.10\lib\jsf-12.jar;C:\resin-3.1.10\lib\jsr88.jar;C:\resin-3.1.10\lib\jstl-11.jar;C:\resin-3.1.10\lib\jta-101.jar;C:\resin-3.1.10\lib\jws-15.jar;C:\resin-3.1.10\lib\mysql-connector-java-5.1.10-bin.jar;C:\resin-3.1.10\lib\portlet-10.jar;C:\resin-3.1.10\lib\quercus.jar;C:\resin-3.1.10\lib\resin-deploy.jar;C:\resin-3.1.10\lib\resin-util.jar;C:\resin-3.1.10\lib\saaj.jar;C:\resin-3.1.10\lib\script-10.jar;C:\resin-3.1.10\lib\webbeans-16.jar;C:\resin-3.1.10\lib\webutil.jar
_SERVER["=::"] ::\
_SERVER["LOGONSERVER"] \\BVDC
_SERVER["PROCESSOR_ARCHITECTURE"] x86
_SERVER["FP_NO_HOST_CHECK"] NO
_SERVER["OS"] Windows_NT
_SERVER["PATH"] C:\resin-3.1.10\win32
_SERVER["HOMEPATH"] \
_SERVER["PROCESSOR_LEVEL"] 15
_SERVER["SonicCentral"] C:\Program Files\Common Files\Sonic Shared\Sonic Central\
_SERVER["HOMESHARE"] a share
_SERVER["COMPUTERNAME"] mysystem
_SERVER["windir"] C:\WINDOWS
_SERVER["SystemRoot"] C:\WINDOWS
_SERVER["asl.log"] Destination=file;OnFirstLog=command,environment,pa rent
_SERVER["NUMBER_OF_PROCESSORS"] 1
_SERVER["USERNAME"] myname
_SERVER["ComSpec"] C:\WINDOWS\system32\cmd.exe
_SERVER["APPDATA"] C:\Documents and Settings\myname\Application Data
_SERVER["SERVER_NAME"] localhost
_SERVER["SERVER_PORT"]

string(2) "80"

_SERVER["REMOTE_HOST"] 127.0.0.1
_SERVER["REMOTE_ADDR"] 127.0.0.1
_SERVER["REMOTE_PORT"]

string(4) "3200"

_SERVER["SERVER_SOFTWARE"] Apache PHP Quercus(3.1.10)
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["DOCUMENT_ROOT"] /C:/Documents and Settings/myname/Workspaces/MyEclipse 8.5/mydomain/WebRoot/
_SERVER["SCRIPT_NAME"] /nb/php/my_store.php
_SERVER["REQUEST_URI"] /nb/php/my_store.php
_SERVER["SCRIPT_FILENAME"] C:\Documents and Settings\myname\Workspaces\MyEclipse 8.5\mydomain\WebRoot\php\my_store.php
_SERVER["PHP_SELF"] /nb/php/my_store.php
_SERVER["HTTP_HOST"] localhost
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100824 Firefox/3.6.9
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 115
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["HTTP_CACHE_CONTROL"] max-age=0

domdorn 10-01-2010 11:46 AM

please try with the latest quercus version 4.0.11 from http://quercus.caucho.com


All times are GMT. The time now is 02:30 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.