php-windows Digest 6 Dec 2003 08:03:42 -0000 Issue 2031

Topics (messages 22329 through 22331):

PHP_OpenSSL help needed
        22329 by: Ralph Nicovich
        22331 by: Seung Hwan Kang

Re: Problem with mail()
        22330 by: Manuel Lemos

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
I am trying to bring up CAS authentication on our server that runs PHP.

I have some example code, that 'mostly' works... but it requires that
PHP use HTTPS to verify the users 'ticket' with our CAS server.

I cannot find any good doc's on how to bring up php_openssl.dll.
I un-comment the extention and put the libeay file in the system32
directory.

But everytime the page is accessed (by a user) our PHP server gets an
error that it cannot open the php_openssl extention...
I have opend all access rights (on my test server) to the point where
rights should not be the problem.

My guess is that I must initialize SSL somehow so that it has the public
key for our CAS server ... but I can't find where to do that yet.

Any Help out there on SSL?



-- 
               _  _____________________________________  _
              / )|            Ralph Nicovich           |( \
             / / |               Cal Poly              | \ \
           _( (_ |      San Luis Obispo, CA 93407      | _) )_
          (((\ \>|_/ )_____________________________( \_|</ /)))
          (\\\\ \_/ /                               \ \_/ ////)
           \       /                                 \       /
            \    _/                                   \_    /
            /   /                                       \   \

--- End Message ---
--- Begin Message --- You need to install openssl.cnf.

Please look at c:\php\openssl\REAMME-SSL.txt (php 5.00b2).

Ralph Nicovich wrote:

I am trying to bring up CAS authentication on our server that runs PHP.

I have some example code, that 'mostly' works... but it requires that
PHP use HTTPS to verify the users 'ticket' with our CAS server.

I cannot find any good doc's on how to bring up php_openssl.dll.
I un-comment the extention and put the libeay file in the system32
directory.

But everytime the page is accessed (by a user) our PHP server gets an
error that it cannot open the php_openssl extention...
I have opend all access rights (on my test server) to the point where
rights should not be the problem.

My guess is that I must initialize SSL somehow so that it has the public
key for our CAS server ... but I can't find where to do that yet.

Any Help out there on SSL?




--- End Message ---
--- Begin Message --- Hello,

On 12/04/2003 01:57 PM, Gerardo Rojas wrote:
I am trying to send mail with the mail() function. My environment is Win2K proffessional. IIS5.0 and my email server is Outlook. This is the error I'm getting when i try to send mail.

i have changed the php.ini file for:

SMTP = my mail server


-------------------------
Creating socket Successfully created socket!
Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] in c:\inetpub\wwwroot\gerardo\software\php\sockets\mail_server.php on line 25
-------------------------

That server requires authentication to relay messages on it. The mail() function does not support authentication. You may want to try this other class that comes with a wrapper function named smtp_mail() that emulates the mail() function but lets you specify the authentication credentials:


http://www.phpclasses.org/mimemessage

You will also need this:

http://www.phpclasses.org/smtp


--


Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--- End Message ---

Reply via email to