vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   WMail - a POP3/SMTP Webmailer for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=115597)

apdcanari 05-15-2006 04:48 AM

Quote:

Originally Posted by Hellcat
That's really weird.... I'm not running own code there, it's all native vB....
I'll look at the permission stuff....

Thanks :rolleyes:

Rebuild permissions...

Perhaps...

Code:

require_once(DIR . '/includes/class_bitfield_builder.php');
vB_Bitfield_Builder::save($db);
build_forum_permissions();


yinyang 05-15-2006 05:02 AM

Looks awesome. Could be greater than vbMail? I'll test and let you know. Great job Hellcat and thank you very much for sharing!

Barakat 05-15-2006 05:09 AM

woking great ............................ thanks

Basboss 05-15-2006 05:50 AM

Been waiting for something like this...

Thanks for sharing.

Hellcat 05-15-2006 06:42 AM

Quote:

Originally Posted by apdcanari
Thanks :rolleyes:

Rebuild permissions...

Perhaps...

Code:

require_once(DIR . '/includes/class_bitfield_builder.php');
vB_Bitfield_Builder::save($db);
build_forum_permissions();


I added this testwise to the install code.
Can you uninstall the current one (if not already done) and try a reinstall with the attached product .XML?
Check if it's working then....


Quote:

Originally Posted by yinyang
Looks awesome. Could be greater than vbMail? I'll test and let you know. Great job Hellcat and thank you very much for sharing!

Well, as charming as that sounds :) I doubt that.
I just did some research on "vBMail" (can you believe I didn't hear of it till now :knockedout: ) and it has something about 16.000 lines of code.

My one only comes up to ~1.000 lines - there HAS to be a big difference ;)

But, who knows, if I got the time and peoples interest stays constant, this definately will evolve.... I'd like that :)

rmxs 05-15-2006 08:09 AM

Hmmm i can receive mails byt i cannot sent

I get this

Connection to SMTP:25....
Sent: helo localhost
Rcvd: 250 servername.com Hello servername.com [Server IP]
Sent: MAIL FROM:xxx.com
Rcvd: 501 xxxx.comr: sender address must contain a domain
Sent: RCPT TO:xxx@xxx
Rcvd: 503 sender not yet given
Sent: DATA
Rcvd: 503 valid RCPT command must precede DATA
Sent: QUIT
Rcvd: 221 SERVERNAME.com closing connection


Also if there is not messages in INBOX i get this

An error accoured while connecting to your POP3 server!

Byt there is no Problem!!(The problem is "ALL forget me" :) LOL )

donatas 05-15-2006 09:36 AM

When going to Get Mails
Recieving
Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /wmail/inc_misc.php on line 90

nitro 05-15-2006 10:11 AM

[high]* nitro marks "installed" for future reference.
[/high]

Sounds like a very interesting, cool and promising vb addon. :)

IrPr 05-15-2006 11:18 AM

Hellcat ROCKS~

Parker Clack 05-15-2006 11:24 AM

Hellcat:

Great mod. A couple of things I noticed is that when you get a listing of the emails that you have from the wmail.php?do=getmail page and you check the emails you want to delete and then click on the Delete Selected button the thread is not deleted. You can delete it from the page when you read the email.

When there are no emails on your server you get a "An error accoured while connecting to your POP3 server!" error message.

Then when you send an email it doesn't redirect you back to the page to allow you to send another email, etc. It stops on the sent email notification.

Again, this is a great hack and I look forward to its final release.

Snake 05-15-2006 12:07 PM

Just oh my god! Gotta put this as my favorite hack in my profile info! :D

Thank you very much, friend!

H@K@N 05-15-2006 01:16 PM

very nice hack ... th@nks

*installed*

EDIT// Question

Does it make sense to use the WYSIWYG with the Smiley Box, because bbcode will not work on Emails, does it ?

maranello 05-15-2006 01:35 PM

My STMP server requires authentication and there is no way to do it with this hack:( Do you have a solution? I keep getting "There has been an error while talking to your SMTP server!"

Tralala 05-15-2006 02:09 PM

My SMTP server requires authentication too. I thought most did these days, to cut down on the sending of spam?

Anyway, this hack is off to a phenomenal start. I'd like to see even more interaction with vBulletin, since some will ask, "why use this when I could just open another browser window and use someone else's webmail?"

Tying it closely with vBulletin to extend it's features, essentially using this as an email "bridge" makes a lot of sense.

Since the infrastructure is there, I imagine this could be engineered to make threads out of emails received in an pre-specified mailbox. Or PM's could be sent (or replied to!) via email. Many more ideas and examples, but those are the first that come to mind.

junaid 05-15-2006 02:24 PM

Hello,
I have created the following error

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /wmail/inc_accessconfig.php on line 40

melefire 05-15-2006 03:18 PM

For some reason it dosn't work
here is a screenshot
https://vborg.vbsupport.ru/external/2006/05/11.jpg
i just get error message

COBRAws 05-15-2006 03:55 PM

Quote:

Originally Posted by jugo
You are truly a gentleman. I started growing more gray hair, waiting for filburt1 to update his Modification which may I add was a paid product.

Thanks a ton bro.

Im in the same situation, and now I dont know what to do. Damn, why did I pay for that!?

apdcanari 05-15-2006 04:49 PM

Bug fixed

Regenerate the binary fields

MissKalunji 05-15-2006 05:04 PM

How would this work? with any other e-mail that uses pop3? that would cause a lot of server loads no?

utw-Mephisto 05-15-2006 05:57 PM

I have tried your demo but it does not matter which mail account I setup, I always get an error :

Rcvd: 550 relay not permitted

Even though logins to the accounts are correct

Hellcat 05-15-2006 07:03 PM

Quote:

Originally Posted by rmxs
Hmmm i can receive mails byt i cannot sent

I get this

[...snip...]

Also if there is not messages in INBOX i get this
An error accoured while connecting to your POP3 server!

Hmm, did you set a propper address in the settings, no typos or such?

The error on an empty mailbox makes sense - at least from the view of the script *lol* I'll see to catch that.


Quote:

Originally Posted by donatas
When going to Get Mails
Recieving
Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /wmail/inc_misc.php on line 90

Hmm, that might happen when there's no date given in the mail, that should be easy to catch....


Quote:

Originally Posted by Parker Clack
Great mod. A couple of things I noticed is that when you get a listing of the emails that you have from the wmail.php?do=getmail page and you check the emails you want to delete and then click on the Delete Selected button the thread is not deleted. You can delete it from the page when you read the email.

Then when you send an email it doesn't redirect you back to the page to allow you to send another email, etc. It stops on the sent email notification.

OK, there seems to be another flaw when fetching the array of mails to delete....
When you sent a mail, at the final message you could just hit "New Mail" again on the left navigation - what other suggestion do you have, I'm open for anything :)


Quote:

Originally Posted by H@K@N
Does it make sense to use the WYSIWYG with the Smiley Box, because bbcode will not work on Emails, does it ?

Makes sense if the recipient uses this as well *lol*
Going for total world dommination :D
Nah, seriously, the smilies are used anyway in mails (typed by hand) and using the BBCodes is just an option.... But I could make on option "Use WYSIWYG yes/no" :)


Quote:

Originally Posted by maranello
My STMP server requires authentication and there is no way to do it with this hack:( Do you have a solution? I keep getting "There has been an error while talking to your SMTP server!"

What kind of authentication?
I can implement that :)
Did you try the two auth types already alvailable?


Quote:

Originally Posted by Tralala
My SMTP server requires authentication too. I thought most did these days, to cut down on the sending of spam?

Tying it closely with vBulletin to extend it's features, essentially using this as an email "bridge" makes a lot of sense.

I just need info on the uath your SMTP requires :)
Any further feature suggestions are highly welcome! :)
What you wrote so far sounds cool, "bridging" eMails with PM is on my ToDo anyway and making a feature of posting threads/posts by eMail sounds nice as well....


Quote:

Originally Posted by apdcanari
Bug fixed

Regenerate the binary fields

So, adding those BuildBitfield to the install code solved it?
Cool :)


Quote:

Originally Posted by utw-Mephisto
I have tried your demo but it does not matter which mail account I setup, I always get an error :

Rcvd: 550 relay not permitted

Even though logins to the accounts are correct

Seems like there are some more auth types I need to implement.
It's only a matter of time till I get them working! :)

dooch 05-15-2006 07:03 PM

Thanks dude, this is what Ive wanted! looking...

junaid 05-15-2006 07:28 PM

Hello Helcat,

Could u please help me what files I have to edit the following error

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /wmail/inc_accessconfig.php on line 40

Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO wmail_settings (userid, data) VALUES ('1', 'a:4:{s:12:"mailsperpage";i:25;s:9:"sortorder";b:0 ;s:7:"timeout";i:30;s:12:"subjmaxchars";i:40;}');;

MySQL Error : Duplicate entry '1' for key 1
Error Number : 1062
Date : Monday, May 15th 2006 @ 04:27:05 PM
Script : http://www.maldiviandigital.com/wmail.php
Referrer : http://www.maldiviandigital.com/
IP Address : 202.21.190.65
Username : Junaid
Classname : vB_Database_MySQLi

Veer 05-15-2006 08:17 PM

Installed, but found error when sending new email :tired:

Code:

Warning: fsockopen(): unable to connect to mail.mydomain.net:25 in /wmail/inc_smtp.php on line 49
and...

Code:

ERROR

There has been an error while talking to your SMTP server!
Sessionlog follows:


Connection to mail.mydomain.net:25....failed: Connection refused


melefire 05-15-2006 08:41 PM

the script dosn't work, well i can't accses and pages and such

NemoTech 05-15-2006 08:43 PM

Tried testing the demo version. Got errors.

Can't wait to implement this.. :)

Hellcat 05-15-2006 08:52 PM

Quote:

Originally Posted by junaid
Hello Helcat,

Could u please help me what files I have to edit the following error

[...snipped...]

I'm currently hunting down this one, once I fixed it I will release the updated files.



Quote:

Originally Posted by Pehchaan
Installed, but found error when sending new email :tired:

Code:

Warning: fsockopen(): unable to connect to mail.mydomain.net:25 in /wmail/inc_smtp.php on line 49
and...

Code:

ERROR

Connection to mail.mydomain.net:25....failed: Connection refused


That's a problem on the side of your SMTP server, nothing I could do against....

Check if the hostname is correct and the SMTP server is indeed listening on port 25.

Like the "Connection refused" tells, the contacted server didn't want to talk with the script. The cause for that has to be found on the SMTP server, I'm sorry....


Quote:

Originally Posted by melefire
the script dosn't work, well i can't accses and pages and such

Did you edit the usergroup permissions?
WHY can't you access the pages?



I'll hope to get an update out tonight :)

melefire 05-15-2006 09:02 PM

i mean i can, but if i click settings nothing happens same with all the links

junaid 05-15-2006 09:05 PM

Hello Hellcat,
In my Admincp WMailOption work ok
But Global Setting is error the following:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /wmail/inc_accessconfig.php on line 9
Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO wmail_settings (userid, data) VALUES ('', 'a:0:{}');;

MySQL Error : Duplicate entry '0' for key 1
Error Number : 1062
Date : Monday, May 15th 2006 @ 06:03:23 PM
Script : http://www.maldiviandigital.com/admi...min_global.php
Referrer : http://www.maldiviandigital.com/admi...dex.php?do=nav
IP Address : 202.21.190.65
Username : Junaid
Classname : vB_Database_MySQLi

dreck 05-15-2006 09:10 PM

Code:

There has been an error while talking to your SMTP server!
Sessionlog follows:

Connection to mail.thisdarncar.com:25....
Sent: helo localhost
Rcvd: 220-We do not authorize the use of this system to transport unsolicited,
Sent: auth login
Rcvd: 220 and/or bulk e-mail.
Sent: MAIL FROM:dreck@thisdarncar.com
Rcvd: 250 box115.bluehost.com Hello box115.bluehost.com [70.103.140.115]
Sent: RCPT TO:help@itwrks.net
Rcvd: 503 AUTH command used when not advertised
Sent: DATA
Rcvd: 250 OK
Sent: QUIT
Rcvd: 250 Accepted

I too get error on all 3 settings. And I am not sure what info you need, but I would be more than glad to ask my hosting service.

I did see this in my cpanel:
Quote:

Be sure to enable SMTP Authentication in your E-mail client or you may not be able to send mail. If your e-mail client has trouble using a + sign in the login, you can use @, :, or % sign instead.
Take you time, I have been waiting for a hack like this. :banana:

Great work, thanks!
*install*


dreck

Parker Clack 05-15-2006 09:41 PM

Hellcat:

If you could put in a redirect after the template that tells you that your email has been sent that would be great.

Any ideas on the deleting of messages problem?

maranello 05-15-2006 10:06 PM

Quote:

Originally Posted by dreck
Code:

There has been an error while talking to your SMTP server!
Sessionlog follows:

Connection to mail.thisdarncar.com:25....
Sent: helo localhost
Rcvd: 220-We do not authorize the use of this system to transport unsolicited,
Sent: auth login
Rcvd: 220 and/or bulk e-mail.
Sent: MAIL FROM:dreck@thisdarncar.com
Rcvd: 250 box115.bluehost.com Hello box115.bluehost.com [70.103.140.115]
Sent: RCPT TO:help@itwrks.net
Rcvd: 503 AUTH command used when not advertised
Sent: DATA
Rcvd: 250 OK
Sent: QUIT
Rcvd: 250 Accepted

I too get error on all 3 settings. And I am not sure what info you need, but I would be more than glad to ask my hosting service.

I did see this in my cpanel:


Take you time, I have been waiting for a hack like this. :banana:

Great work, thanks!
*install*


dreck

Yep I have exactly the same problem. My cpanel says the exact same thing. I need to enable STMP Authentication, but that feature is not available in the vwmail so it doesn't work.

juanchi 05-15-2006 10:16 PM

Correct me if I'm wrong but this mod will not give an automatic email account to the board's users, right? If not there is a feature that vbms does have and keep me from using this one, I'm really tired of waiting for the release of vbms but I'm looking for an email system that will kive my users an account on the board.

-=Sniper=- 05-15-2006 10:18 PM

correct, it will allow users to access their pop3 emails account...s

TTG 05-15-2006 10:28 PM

Quote:

Originally Posted by maranello
Yep I have exactly the same problem. My cpanel says the exact same thing. I need to enable STMP Authentication, but that feature is not available in the vwmail so it doesn't work.

thats the same problem I'm having .. would be good to get this working.

BANDiT600 05-15-2006 10:53 PM

Question for those, who tested, what 'bout server loads???

shadow smith 05-15-2006 11:08 PM

Is there a way to give accounts to users of vbulletin without having to make a pop account for everyone?

Hellcat 05-15-2006 11:24 PM

About the authentication issues:
I'd need to to know how the SMTP expects the authentication to be done.
I am researching additional auth methods for SMTP now, any input would be helpfull here....

However, the last posted SMTP log shows that there's a "collision" when a multiline welcome message is sent from the server - I try to handle that, maybe the already existing AUTH types start working for some more ppl then!

For the moment it seems those AUTH trouble is the main showstopper....
But I'm on it!
We WILL get those resolved ;) It's just a matter of time, but I try to make it not taking too long :)


For the remaining errors posted so far (PHP warnings and false error on empty mailbox) I seem to have those almost fixed.
An update will come later tonight, still gotta fix the one or the other small thing....


Quote:

Originally Posted by melefire
i mean i can, but if i click settings nothing happens same with all the links

Getting a blank/empty page, or everytime the Welcome-Panel again?


Quote:

Originally Posted by Parker Clack
If you could put in a redirect after the template that tells you that your email has been sent that would be great.

Any ideas on the deleting of messages problem?

OK, I see what I can come up with for the redirect :)

The deletion of mail, however, is working fine here.... weird....
They do not get deleted when using "Delete selected" but DO get deleted when using "Delete" from the mailview, when reading the mail?


Quote:

Originally Posted by juanchi
Correct me if I'm wrong but this mod will not give an automatic email account to the board's users, right? If not there is a feature that vbms does have and keep me from using this one, I'm really tired of waiting for the release of vbms but I'm looking for an email system that will kive my users an account on the board.

No, this will not automatically install an email account on your server.
But I could check out what could be done to add that feature.

Do you have some more details on this for me?
Like how the accounts should be created?


Quote:

Originally Posted by shadow smith
Is there a way to give accounts to users of vbulletin without having to make a pop account for everyone?

I have a rough idea on how to do that with only using ONE POP box.... hmm.... must see if my idea might work, there's only one way to find out :)

juanchi 05-15-2006 11:30 PM

Quote:

Originally Posted by Hellcat

No, this will not automatically install an email account on your server.
But I could check out what could be done to add that feature.

Do you have some more details on this for me?
Like how the accounts should be created?


I have a rough idea on how to do that with only using ONE POP box.... hmm.... must see if my idea might work, there's only one way to find out :)

Well I'm not sure about the method but vbms use one pop account, like a catch all account and some how it gets the mail deliver to each user.

Hellcat 05-16-2006 12:23 AM

Quote:

Originally Posted by juanchi
Well I'm not sure about the method but vbms use one pop account, like a catch all account and some how it gets the mail deliver to each user.

Yap, that goes exactely into the direction on my rough idea mentioned in my earlier post.

Well, I see what I can do, but it's pretty safe to say that one of the upcomming versions will have such a feature.


All times are GMT. The time now is 12:53 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01658 seconds
  • Memory Usage 1,861KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete