531
kaotik
smtp.class correct order
  • 2004/9/28 2:00

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


I'm tring to use XOOPS class.smtp.php and have been reading rfc2821 and other docs. Does anyone have a simplified order of how to implement it? Right now I have this:
CONNECTION ESTABLISHMENT
EHLO or HELO
MAIL
RCPT
DATA
RSET
VRFY
EXPN
HELP
NOOP
QUIT
But this doesn't state where the authentication step occurs. Can anyone help me?



532
kaotik
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/25 13:30

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


I am using your index.php file. The only change I made was to make sure that your config file matched the one that's working from the standalone zen. I did this to rule out the possibility of a misconfiguration inside the config file.



533
kaotik
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/25 11:13

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Bassman: Here's the steps I did:
-I installed the zen project as a standalone. Got it working.
-Went into your module and literally copied over your config.php in/config with the one from standealone zen.
-This gets past the login issue but crashs with a sessions problem.

Regarding the PHP Notices; yes, the module still needs a lot of housecleaning.

bbgds: Yes, that ideia has been on my mind



534
kaotik
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/24 16:14

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


I can understand the point made by Mithrandir. But I think in the case of this module, where several people are tring to develop a module, features such as bug, tasks, files would really facilitate a colaborative effort. Of course we could always continue our work here in the forum without those tools, but it would seem to defeat it's own purpose if dev.xoops was only open to established module developers. The point (I would assume) was to bring XOOPS to the masses, and, if possible, have them directly colaborate on the development of Xoops, be it in the core or modules, independent from any PHP C0derz status, it's the effort that counts...
....went on a rave...just my 2 cents.



535
kaotik
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/24 15:21

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Yes, I think WebMailFX should be it's own project over on dev.xoops.org. This (in my opinion) is a valid and very good module. You should go and set it up and then place us as developers. There are many features in dev.xoops that would make building this module more colaborative.

Bassman: well, I'm past the incorrect login error and have now stumbled on a sessions error. I think there is a conflict between sessions ID of zen and xoops. I'm getting this:
Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0
I currently have sessions set to this:
$sessInfo = "PHPSESSID";

Does anyone know if XOOPS has it's own sessions ID?



536
kaotik
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/24 13:45

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Have you thought about creating a new project over on dev.xoops.org? There's alot of funcionality there that would be usefull.



537
kaotik
Re: xoops vs mambo
  • 2004/9/24 13:28

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


You should try searching the forums. This has been discussed in great lengths in previous posts.



538
kaotik
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/24 11:53

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


I've already integrated an option for Apop in the admin, I'm now working on an SMTP option.
What are the characters that give you problems? I've tested some like ç ã ó í ì é É è È á Á and these work fine for me.
I think your ideia for numbering is good.

Bassman: I finally figured out why your module kept crashing on me. I needed the php_imap extension installed. Only after reading a faq at the zen project did I realize this.



539
kaotik
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/24 1:27

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Being able to set a separate smtp is a good ideia. Right now it uses the same variable for POP3 and SMTP. To acomplish this, there's 4 variables that should be set:
smtp server, port, user and pass. Some smtp servers require authentication, that's the reason for a separate user and pass. There should be the option to set this in the admin menu.
There should be an admin option to set APOP. It would be better if it was always on (for security reasons) but some servers don't support it. The variable already exists in pop3.php.
The module is already using rc4 encryption for it's sessions, so we should just resort to the class in class.rc4crypt.php.
There are stil some PHP notices that should be taken care of such as Undefined variables and undefined constants.
I think once these are taken care of and a separate SMTP is in place, the module would be ready for a RC1 release.



540
kaotik
Re: Getting the webmail module to work - Here's the file!
  • 2004/9/23 17:21

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Cleaned up some more variables.
Changed from WEBMAILFX_ to WFX_ it's more manegable.
Still based on .8

files here

Don't forget to right-click and select save as.




TopTop
« 1 ... 51 52 53 (54) 55 56 57 ... 59 »



Login

Who's Online

158 user(s) are online (84 user(s) are browsing Support Forums)


Members: 0


Guests: 158


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits