PHP Classes

sasl_client_class

Recommend this page to a friend!

      MIME E-mail message sending  >  MIME E-mail message sending package blog  >  How Can PHP Send Emai...  >  All threads  >  sasl_client_class  >  (Un) Subscribe thread alerts  
Subject:sasl_client_class
Summary:I need validate with this mechanism
Messages:16
Author:Rodrigo Fonseca Borges
Date:2007-01-29 19:34:33
Update:2011-07-31 02:48:48
 
  1 - 10   11 - 16  

  1. sasl_client_class   Reply   Report abuse  
Picture of Rodrigo Fonseca Borges Rodrigo Fonseca Borges - 2007-01-29 19:34:33
Where can I found the sasl_client_class ?

I have the error: it is not possible to authenticate using the specified mechanism because the SASL library class is not loaded

Thanks

  2. Re: sasl_client_class   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2007-01-29 20:03:47 - In reply to message 1 from Rodrigo Fonseca Borges
In the SMTP class page, you see a link to dependency classes pointing to:

phpclasses.org/sasl

  3. Re: sasl_client_class   Reply   Report abuse  
Picture of Tokan Tokan - 2008-01-03 21:12:21 - In reply to message 2 from Manuel Lemos
I have downloaded all the dependencies for the smtpclass but I still get the error: It is not possible to authenticate using the specified mechanism because the SASL library class is not loaded...

Could you advise me on what to do. It errors out at the following condition:

if(!function_exists("class_exists") || !class_exists("sasl_client_class"))
{
// error
}

how do i load the function or the desired class???

  4. Re: sasl_client_class   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2008-01-03 21:44:33 - In reply to message 3 from Tokan
You need to include the sasl.php file. Aren't you doing that?

  5. Re: sasl_client_class   Reply   Report abuse  
Picture of Tokan Tokan - 2008-01-04 08:40:00 - In reply to message 4 from Manuel Lemos
Duh.. how foolish of me..

That was it!!!

Thanks!

  6. Re: sasl_client_class   Reply   Report abuse  
Picture of selami selami - 2011-03-01 16:54:03 - In reply to message 5 from Tokan
Resolving SMTP server domain "smtp.live.com"...
Connecting to host address "65.55.162.200" port 25...
Connected to SMTP server "smtp.live.com".
S 220 BLU0-SMTP205.blu0.hotmail.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.4675 ready at Tue, 1 Mar 2011 08:52:45 -0800
C EHLO localhost
S 250-BLU0-SMTP205.blu0.hotmail.com Hello [46.20.9.51]
S 250-TURN
S 250-SIZE 41943040
S 250-ETRN
S 250-PIPELINING
S 250-DSN
S 250-ENHANCEDSTATUSCODES
S 250-8bitmime
S 250-BINARYMIME
S 250-CHUNKING
S 250-VRFY
S 250-TLS
S 250-STARTTLS
S 250 OK
C STARTTLS
S 220 2.0.0 SMTP server ready
Starting TLS cryptograpic protocol
TLS started
C EHLO localhost
S 250-BLU0-SMTP205.blu0.hotmail.com Hello [46.20.9.51]
S 250-TURN
S 250-SIZE 41943040
S 250-ETRN
S 250-PIPELINING
S 250-DSN
S 250-ENHANCEDSTATUSCODES
S 250-8bitmime
S 250-BINARYMIME
S 250-CHUNKING
S 250-VRFY
S 250-AUTH LOGIN PLAIN
S 250 OK
C AUTH LOGIN
S 334 VXNlcm5hbWU6
C c2VsYW1pX2NAaG90bWFpbC5kZUBTZWxhbWk=
S 451 Requested action aborted: local error in processing
Could not send the message to caglamedia@ive.de. Error: 451 Requested action aborted: local error in processing


i can not send to mail. can you help me about this error?

  7. Re: sasl_client_class   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2011-03-02 01:03:32 - In reply to message 6 from selami
The problem is that you are passing your Hotmail e-mail and password in the user name. The user name should be just the Hotmail e-mail and the password is another class variable.

BTW, please change your password because the log that you sent contains your password in base64 which can be easily decoded.

  8. Re: sasl_client_class   Reply   Report abuse  
Picture of Kevin Rank Kevin Rank - 2011-07-29 03:07:17 - In reply to message 7 from Manuel Lemos
stops after these few items

i have changed server names

Resolving SMTP server domain "i have my smtp server here"...
Connecting to host address "changes to it's ip" port 25...
Connected to SMTP server "my server again".
S 220 wcs.wzrd.com ESMTP
C EHLO localhost
S 250-wcs.my server.com
S 250-PIPELINING
S 250-SIZE 16777216
S 250-ETRN
S 250-STARTTLS
S 250-AUTH PLAIN LOGIN
S 250-AUTH=PLAIN LOGIN
S 250-ENHANCEDSTATUSCODES
S 250-8BITMIME
S 250 DSN

  9. Re: sasl_client_class   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2011-07-29 06:45:23 - In reply to message 8 from Kevin Rank
What do you mean it stops? Does the class fail with an error or PHP crashes?

  10. Re: sasl_client_class   Reply   Report abuse  
Picture of Kevin Rank Kevin Rank - 2011-07-29 11:24:51 - In reply to message 9 from Manuel Lemos
That is the entire web page I get. So i am assuming php just crashes.

There are no error messages.

At first I got an error on the end

S 250-PIPELINING
S 250-SIZE 16777216
S 250-ETRN
S 250-STARTTLS
S 250-AUTH PLAIN LOGIN
S 250-AUTH=PLAIN LOGIN
S 250-ENHANCEDSTATUSCODES
S 250-8BITMIME
S 250 DSN
Error: it is not possible to authenticate using the specified mechanism because the SASL library class is not loaded


Then i loaded and included sasl.php

now i get no error. Thanks


 
  1 - 10   11 - 16