Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
WMail - a POP3/SMTP Webmailer for vBulletin Details »»
WMail - a POP3/SMTP Webmailer for vBulletin
Version: 1.00, by Hellcat Hellcat is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 05-14-2006 Last Update: 06-05-2006 Installs: 162
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

What is this?
---------------

WMail is a "webmail client" - a front end, like a mail tool installed locally on your PC, for using POP3/SMTP mailboxes.

In short:
WMail adds POP3/SMTP access to vBulletin.

A live demo can currentliy be found on my testing board here:
http://vbdev.area-42.net/wmail.php


Key features:
  • The obvious: Getting mailbox content, reading mails from every POP3 mailbox and sending mails through any SMTP server (configurable in the user options)
  • written from scratch, spezificially to be used with vBulletin 3.5.x - not a port of something
  • fully phrased and templated down to the last bit
  • Full multipart support for downloading (and sending) attachments
  • When reading mail the mail text is parsed for BB-Codes, so you get the graphical smillies from the forum, text formatting and URLs automatically become clickable links
  • When replying to, or forwarding, mail the text of the original mail is quoted, propper quotemarks are added and a quote-header is added (customizable via template)
  • various options for admin and users to customize the webmail client
  • Does NOT require any special modules to be compiled into your PHP installation (like the IMAP libraries)
    (for techies: this uses basic socket connections instead of special PHP function calls)
  • Admin can override certain aspects of the user config (forcing to use a given mailserver, force using forum email address and such)
  • Write your mails using vB's WYSIWYG editor
  • buildin (yet simple) addressbook for your E-Mail contacts
  • Read/Unread markings - unread mails are highlighted, options for "mark selected read", "mark all read" and "mark selected unread"
  • custom hooks to make it easy to develop addons for it
  • automatically adds links to the webmailer in "Quick Links" menu, navbar and UserCP. Usualy no template edits needed when using default ones (can be disabled for each link in admin options)

Planned features:
  • Support for multiple config sets per user
    (and so multiple mailbox accounts that can be querried)
  • Sort mails into folders
  • User configurable filters (for automatically sorting mails into folders)
  • Preview of mailtext in inbox view (bellow subject)
  • Forward mails as PM / Forward PMs as mail
  • Reply to threads and PMs by mail
  • Give/Provide your members an own eMail adress and inbox on your forums!
    • Members can recieve and send mails as "username@forumdomain.tld" without the need for an own POP3 account anywhere
    • Admin only needs ONE "real" POP3 box as "catch all".

Installation
--------------

Level : EASY
Duration : a minute or so
Files to upload : yes (11)
Products to import : yes (1)
Templates to edit : usually none


ChangeLog
===========

1.00 - first final release
  • Fixed some minor bugs
  • Login details are no longer stored as plain text in the database (*see note bellow!)
  • Added option to save login details in a cookie on the users local computer instead of storing them in the forum's database
* Note on storing the login details in the database:
The login details are only base64 encoded when stored in the database.
A more secure encryption would make no sense anyway, the login details must be decrypted to be passed to the POP3/SMTP server - one well placed line of additional code in the POP3 or SMTP class could save the decrypted info anywhere the admin likes.
This "encoding" is only meant to prevent login details to be read (in plaintext) when doing maintanance to the database and stepping over it.
For fully securing the login details the "Save in cookie" option has been added.

Known Issues:
  • On some installations mass deletion of mails (via "Delete Selected" from the inbox view) does not delete all mails
  • Sometimes you get "-4 mails in inbox" - reloading the page then shows the correct inbox again
Besides of those two issues, that do not really break the function of the webmailer, it seemed to run pretty stable so far - that's why I decided to release 1.00 without having them resolved.


(more changelog entries in the readme)

____________________
This vBulletin extension is FREE! Be welcome to download and use it.
However, if you feel like supporting further development any donation is appreciated :bunny:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 05-15-2006, 07:03 PM
dooch dooch is offline
 
Join Date: Dec 2005
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks dude, this is what Ive wanted! looking...
Reply With Quote
  #63  
Old 05-15-2006, 07:03 PM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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!
Reply With Quote
  #64  
Old 05-15-2006, 07:28 PM
junaid junaid is offline
 
Join Date: Oct 2005
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #65  
Old 05-15-2006, 08:17 PM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #66  
Old 05-15-2006, 08:41 PM
melefire's Avatar
melefire melefire is offline
 
Join Date: Dec 2005
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the script dosn't work, well i can't accses and pages and such
Reply With Quote
  #67  
Old 05-15-2006, 08:43 PM
NemoTech NemoTech is offline
 
Join Date: Oct 2005
Location: Toronto, Ontario
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried testing the demo version. Got errors.

Can't wait to implement this..
Reply With Quote
  #68  
Old 05-15-2006, 08:52 PM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #69  
Old 05-15-2006, 09:02 PM
melefire's Avatar
melefire melefire is offline
 
Join Date: Dec 2005
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i mean i can, but if i click settings nothing happens same with all the links
Reply With Quote
  #70  
Old 05-15-2006, 09:05 PM
junaid junaid is offline
 
Join Date: Oct 2005
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #71  
Old 05-15-2006, 09:10 PM
dreck's Avatar
dreck dreck is offline
 
Join Date: Nov 2004
Location: Pickens SC
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:59 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05866 seconds
  • Memory Usage 2,332KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (12)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete