PDA

View Full Version : WMail - a POP3/SMTP Webmailer for vBulletin


Pages : [1] 2

Hellcat
05-14-2006, 10:00 PM
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:
http://files.area-42.net/ppbtn.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=hellcat%40hellcat%2enet&item_name=WMail%20Support&item_number=wmail&no_shipping=0&no_note=1&tax=0&currency_code=EUR&bn=PP%2dDonationsBF&charset=UTF%2d8)

Roms
05-14-2006, 10:56 PM
Thanks! First install!

BANDiT600
05-14-2006, 10:56 PM
Waiting for screenshots... ;)

kurtbarker
05-14-2006, 11:01 PM
yaaaaahooooooooooo

thanks mate :D

-=Sniper=-
05-14-2006, 11:15 PM
nice :)

Danecookie
05-14-2006, 11:15 PM
waiting for screenies

jugo
05-14-2006, 11:24 PM
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.

Kihon Kata
05-14-2006, 11:25 PM
tagged!

Ntfu2
05-14-2006, 11:35 PM
Waiting for screenshots... ;)



You could always test out a live demo rather then screen shots

http://vbdev.area-42.net/wmail.php

Tralala
05-14-2006, 11:38 PM
Wow, this sounds really, really nice. Looking forward to checking it out.

Kihon Kata
05-14-2006, 11:40 PM
You could always test out a live demo rather then screen shots

Doing some updating....
Be right back..

Daniel
05-14-2006, 11:55 PM
Tested it, works great for me. Thanks a lot!

Hellcat
05-15-2006, 12:11 AM
Uploaded some screenies :)

Injektilo
05-15-2006, 12:20 AM
waiting for any more updates on this...seems very interesting :) great work hellcat

TTG
05-15-2006, 12:21 AM
There has been an error while talking to your SMTP server!
Sessionlog follows:


Rcvd: 220-We do not authorize the use of this system to transport unsolicited,
Sent: MAIL FROM:thexxxxxx@xxxxxxx.com etc etc

shame .. could have been useful.

Hellcat
05-15-2006, 12:23 AM
@TTG:
Did you set the correct authentication type for your SMTP server?

TTG
05-15-2006, 12:24 AM
@TTG:
Did you set the correct authentication type for your SMTP server?

tried them all :D

Hellcat
05-15-2006, 12:26 AM
Hmm.... must be a very restrictive SMTP server then :(
Any info on what's required to send through your SMTP? Maybe it's something I can implement :)

TTG
05-15-2006, 12:34 AM
Hmm.... must be a very restrictive SMTP server then :(
Any info on what's required to send through your SMTP? Maybe it's something I can implement :)

Posted a query to my host .. I'll let you know when they respond.

Ramsesx
05-15-2006, 12:34 AM
Absolutely cool hack hellcat, thank you.
One question, the received messages will be stored encrypted in the database?

Hellcat
05-15-2006, 12:39 AM
Posted a query to my host .. I'll let you know when they respond.
Cool, let me know if there's something that could be done :)


Absolutely cool hack hellcat, thank you.
One question, the received messages will be stored encrypted in the database?
There are no messages at all stored in the DB - everything stays at the POP3 server and only the data/information required for the current action are retrieved, but not saved.

The only thing that gets stored to the local database is the message ID for all unread messages to be able to handle the read/unread markings.

kurtbarker
05-15-2006, 12:59 AM
hey mate, I will be restricting access to the webmail client to paying club members, is there any way I can only show the webmail link in 'UserCP' / 'Quick Links' to a specific usergroup?

Hellcat
05-15-2006, 01:05 AM
Hmm.... the links are currently added for any user....

You CAN specify who may use it in the usergroupmanager, all others get the "no permission" message.
Could be used to inspire ppl to become paying members :D

I could add a check for the link insertion if the user may actually use it and not add the links when he has no permission.... yes that could be done :)

kurtbarker
05-15-2006, 01:08 AM
thanks mate. I feel that the standard 'no permission' message is messy, doesn't really give a reason, and could be seen as an 'error' as such...

if you could look into it, that'll be great, thanks

Hellcat
05-15-2006, 01:16 AM
@kurtbarker:

Here's a quick "hack" for you:

Go to the plugin manager and open this plugin to edit it:
"Template Manipulation (Add WMail Links)"

At the very top, before anything else, add this:
if ($permissions['wmailpermissions'] & $vbulletin->bf_ugp['wmailpermissions']['canusewebmail'])
{
// only add the links when the user actually use the webmailer

At the very bottom, as last line, add this:
}

Now, the links are only added for users who can use the webmailer.
I will include this in the next release and also make an admin option to choose between "Always add links" and "Only add links for users who have permission"

Ramsesx
05-15-2006, 01:18 AM
There are no messages at all stored in the DB - everything stays at the POP3 server and only the data/information required for the current action are retrieved, but not saved.

The only thing that gets stored to the local database is the message ID for all unread messages to be able to handle the read/unread markings.
Ok thanks, the only thing I'm not so happy about is that the passwords are stored in the db without encryption.

Hellcat
05-15-2006, 01:20 AM
Ok thanks, the only thing I'm not so happy about is that the passwords are stored in the db without encryption.
I'm not very happy with that as well....
But on the other hand, an untrustworthy admin who want's to see those can get at them even when they are encrypted since the decryption code has to be in the script as well - hashing only will not work because the PW has to be retrieved to be sent to the mailserver....

But I'm open for ANY suggestions here!

kurtbarker
05-15-2006, 01:37 AM
thanks Hellcat, haven't installed yet, but will be doing so tonight for sure, thanks for the support, i'll let you know how it goes

Ramsesx
05-15-2006, 01:39 AM
Don't have an idea for that my coding skills are 0 :(
But found a bug (?)
The first 98 mails are showing correctly, after sometimes there's only the date and size visible (screenshot).

Hellcat
05-15-2006, 01:50 AM
Hmm, weird thing.... that can happen when the connection to the POP3 server breaks up while getting the mail headers....

I should add some kind of handling of that.... at least some sort of notice that something went wrong there.

Did you change the server timeout? If so, try raising it again.

I'll definately add something for this situation! :)

Roms
05-15-2006, 01:57 AM
First of all, great job on this. I like it so far. :)

I think I'm missing a Phrase in the global settings of the ACP. It also doesn't save my settings in the settings area of the wmail.php "sender Settings" area (ie: Use forum E-Mail address, Use forum username, Use forum signature)

Thanks,
Roms

Hellcat
05-15-2006, 02:13 AM
First of all, great job on this. I like it so far. :)

I think I'm missing a Phrase in the global settings of the ACP. It also doesn't save my settings in the settings area of the wmail.php "sender Settings" area (ie: Use forum E-Mail address, Use forum username, Use forum signature)

Thanks,
Roms
Whooops.... That should be "Use forum signature"
* Hellcat scribbles on buglist

And as long as the overrides are enabled it doesn't save the user settings for those options, indeed.

Try disabling the global overrides seen in the screenshot and try saving your user settings again.

Roms
05-15-2006, 02:19 AM
Whooops.... That should be "Use forum signature"
* Hellcat scribbles on buglist


And as long as the overrides are enabled it doesn't save the user settings for those options, indeed.

Try disabling the global overrides seen in the screenshot and try saving your user settings again.

Thanks, I'll check it out. :)

apdcanari
05-15-2006, 04:18 AM
I have this error....

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

Hellcat
05-15-2006, 04:28 AM
I have this error....

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635
:eek:
When does this happen?

apdcanari
05-15-2006, 04:32 AM
Permissions Usergroups :surprised:

Hellcat
05-15-2006, 04:36 AM
When you try to save, or when you open the usergroup permissions?

apdcanari
05-15-2006, 04:38 AM
Save Usergroups Permissions

Hellcat
05-15-2006, 04:42 AM
That's really weird.... I'm not running own code there, it's all native vB....
I'll look at the permission stuff....

rmxs
05-15-2006, 04:43 AM
Ohhhh Thats the Best ext... :)

Installed 10 Times LOL

apdcanari
05-15-2006, 04:48 AM
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...

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
Thanks :rolleyes:

Rebuild permissions...

Perhaps...

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....


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
* nitro marks "installed" for future reference.

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
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
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.


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....


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 :)


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" :)


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?


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....


Bug fixed

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


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:

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


and...

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
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.



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

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


and...

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....


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/admincp/wmail_admin_global.php
Referrer : http://www.maldiviandigital.com/admincp/index.php?do=nav
IP Address : 202.21.190.65
Username : Junaid
Classname : vB_Database_MySQLi

dreck
05-15-2006, 09:10 PM
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 AcceptedI 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:
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
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 AcceptedI 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
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....


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?


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?


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?


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
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
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.

MissKalunji
05-16-2006, 12:33 AM
How would this work? with any other e-mail that uses pop3? that would cause a lot of server loads no?


bump!

TTG
05-16-2006, 12:34 AM
Is there a way to give accounts to users of vbulletin without having to make a pop account for everyone?


You might find this useful, been using it for quite a while, works well :-

Email per username (https://vborg.vbsupport.ru/showthread.php?t=109598&highlight=install+email)

MissKalunji
05-16-2006, 12:43 AM
You might find this useful, been using it for quite a while, works well :-

Email per username (https://vborg.vbsupport.ru/showthread.php?t=109598&highlight=install+email)

Nice!!

Roms
05-16-2006, 01:45 AM
I'm having the same Send SMTP problem.... I've tried all different settings.. Still no joy...

Hellcat
05-16-2006, 03:00 AM
Update time :)
I'd like esp. all the ones having AUTH issues to test again the two AUTH types available and report any changes.


Fixed a phrase that didn't show in Admin's global settings
Added admin option for the automatic addition of the "Webmail" links: "Never add any link", "Only add for users having propper permission" and "Always add selected links"
When the mailbox is empty it no longer shows "An error accoured...", it now correctly displays a notice "Your inbox is empty" instead (this notice can be hidden completely by deleting the used phrase)
"Empty strtotime() call" should be fixed, no longer causing that PHP warning and showing "N/A" when no or invalid date in mail specified
Added option in user settings to choose between WYSIWYG editor and simple textbox (default is still WYSIWYG)
Fixed a few things in inc_accessconfig.php - hopefully the warnings and SQL errors regarding the config are now gone....
Added an experimental fix in the SMTP protocol that MIGHT raise compatibility with more SMTP server's requiring authentication
Added option (in user settings) to be automatically redirected back to the "Write A New Mail" page after successfull sending

MThornback
05-16-2006, 03:51 AM
error when allowing usergroups to use functions:

Database error in vBulletin 3.5.4:

Invalid SQL:
UPDATE vb3_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'WCC Forum Administrators',
`description` = '',
`usertitle` = 'Forum Administrator',
`opentag` = '<span style=\"color: red;\">',
`closetag` = '</span>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '1074790399',
`attachlimit` = '0',
`pmquota` = '150',
`pmpermissions` = '3',
`pmsendmax` = '0',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions` = '205520831',
`genericoptions` = '23',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`advanced_bbcode_usergroup_on` = '1',
`advanced_bbcode_usergroup_permissions` = '1023',
`advanced_bbcode_usergroup_permissions_custom` = 'a244',
`modpermissions` = '0',
`vbugpermissions` = '7',
`hc_usercountdown` = '1',
`mh_unm_permissions` = '7',
`mh_unm_changelimit` = '30',
`mh_unm_viewhistorylimit` = '1',
`awspermissions` = '15',
`googlemappermissions` = '1',
`wmailpermissions` = '1'
WHERE usergroupid=6;

MySQL Error : Unknown column 'wmailpermissions' in 'field list'
Error Number : 1054
Date : Monday, May 15th 2006 @ 11:49:19 PM
Script : http://www.webcadets.com/forum/admincp/usergroup.php
Referrer :/forum/admincp/usergroup.php?do=edit&usergroupid=6

Username : MThornback
Classname : vb_database


will try and add manually and see if it fixes :)

Edit: Manual add fixed this error....

error now on wmail.php

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT data FROM vb3_wmail_settings WHERE userid = 2;

MySQL Error : Table 'rburns_forum.vb3_wmail_settings' doesn't exist
Error Number : 1146
Date : Monday, May 15th 2006 @ 11:54:28 PM
Script : /forum/wmail.php
Referrer :
Username : MThornback
Classname : vb_database


adding manually...will edit again :p

fixed....

new error same page

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT name, email FROM vb3_wmail_adrbook WHERE userid = '2' ORDER BY name ASC;;

MySQL Error : Table 'rburns_forum.vb3_wmail_adrbook' doesn't exist
Error Number : 1146
Date : Monday, May 15th 2006 @ 11:58:45 PM
Script : /forum/wmail.php
Referrer :

Username : MThornback
Classname : vb_database

will edit again....

Ok...added that table manually and now it works....just have to do the settings.

MThornback
05-16-2006, 04:10 AM
Ok, still small problem...I set yes for all three display options (CP, Nav and Quick Link) none of them are showing up...OTHERWISE....working as expected and truly awesome :)


Suggestion for next update: Add in ability to choose port for POP and SMTP....my server is anal and doesn't use standard SMTP port....so port 25 does not agree with my e-mail addresses :)

Hellcat
05-16-2006, 04:42 AM
weird, why did not add the tables and the column at install time....
This vB install code thing gives me a headache....

But that it's working besides that, I'll tweak the installer some more.

Now I need to know if the SMTP error(s) are still present.
Seems (besides the install issue) the last remaining showstopper.

Once that's resolved we should have a 1.00 final and can head over to the new features :)

VBUsers
05-16-2006, 05:32 AM
im getting this error. i have a prefix on my DB is that it and if so whats the change i need to do?


Database error in vBulletin 3.5.3:

Invalid SQL:
SELECT data FROM smora_wmail_settings WHERE userid=0;

MySQL Error : Table 'smora_forum.smora_wmail_settings' doesn't exist
Error Number : 1146
Date : Tuesday, May 16th 2006 @ 01:20:25 AM
Script : http://www.thenextelforums.com/admincp/wmail_admin_global.php
Referrer : http://www.thenextelforums.com/admincp/index.php?do=nav
IP Address : 000000
Username : LOW
Classname : vb_database



now i went to my usergroup and added my permission. i click on the wmail.php and get this error


Database error in vBulletin 3.5.3:

Invalid SQL:
UPDATE smora_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Head Administrator',
`description` = '',
`usertitle` = 'Head Administrator',
`opentag` = '<span style=\"color: orange;font-weight: bold;\">',
`closetag` = '</span>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '470810623',
`attachlimit` = '0',
`pmquota` = '2000',
`pmpermissions` = '0',
`pmsendmax` = '10',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions` = '205520895',
`genericoptions` = '31',
`profilepicmaxwidth` = '500',
`profilepicmaxheight` = '500',
`profilepicmaxsize` = '999999',
`avatarmaxwidth` = '500',
`avatarmaxheight` = '500',
`avatarmaxsize` = '9999999',
`vbaffiliatespermissions` = '15',
`itraderpermissions` = '7',
`pagerpermissions` = '13',
`pagerquota` = '200',
`pagerminpost` = '0',
`pagerminpostperday` = '0',
`pagermaxperday` = '0',
`pagersendmax` = '0',
`pagersendmaxchar` = '300',
`que` = '4095',
`vbimghost` = '3',
`vbimghost_upslots` = '5',
`vbimghost_files` = '50',
`hackdbperm` = '15',
`vbppermissions` = '65529',
`vbp_discountrate` = '0.00000',
`vbp_paycheckamount` = '2000.00000',
`vbp_secondarycost` = '0.00000',
`vbp_primarycost` = '0.00000',
`wmailpermissions` = '1'
WHERE usergroupid=6;

MySQL Error : Unknown column 'wmailpermissions' in 'field list'
Error Number : 1054
Date : Tuesday, May 16th 2006 @ 01:43:51 AM
Script : http://www.thenextelforums.com/admincp/usergroup.php
Referrer : http://www.thenextelforums.com/admincp/usergroup.php?do=edit&usergroupid=6
IP Address : 00000000000
Username : LOW
Classname : vb_database

VBUsers
05-16-2006, 05:48 AM
error when allowing usergroups to use functions:




will try and add manually and see if it fixes :)

Edit: Manual add fixed this error....

error now on wmail.php



adding manually...will edit again :p

fixed....

new error same page



will edit again....

Ok...added that table manually and now it works....just have to do the settings.


im having the same errors as you can you tell me what you did to fix this?

maranello
05-16-2006, 05:56 AM
Alright, about the STMP Authentication. I installed the updated version, right now i CAN receive e-mails, but I can't send them. When I try to send them, this is what I get:

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

Connection to xxxxxxxxxx:25....
Sent: helo localhost
Rcvd: 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
Sent: auth login
Rcvd: 250 old46.xxxxxxxxxx.com Hello localhost [xxx.xxx.xxx.xxx]
Sent: MAIL FROM:yyy@xxxxxxxxxx.com
Rcvd: 503 AUTH command used when not advertised
Sent: RCPT TO:yyy@xxxxxxxxxx.com
Rcvd: 250 OK
Sent: DATA
Rcvd: 250 Accepted
Sent: QUIT
Rcvd: 354 Enter message, ending with "." on a line by itself

You have the following options in your mail client:

1. Regular Account Login
2. Plain Text Login
3. No login

However you need:

4. STMP Authentication Login as well. If you have outlook or outlook express, when you set up an account, you ll first enter your user and pass. Until that part your client works exactly the same, however, in outlook, if you go to advanced->outbound-sendmail there you ll see "My Mail Server Requires STMP Authentication", and below it, you ll see "use the same login information I entered". That's what's missing. When sending e-mail, in order to prevent bulk-spam, STMP servers use this authentication. Almost all privately owned STMP servers have this. Unless you are trying to use this feature with sbcglobal.net, verizon.com, earthlink.com, etc, there is no way to send e-mail via other STMP servers. I think this should be the MOST important feature you need to add as soon as possible.

Tri@de
05-16-2006, 06:02 AM
I installed the hack, but when i go in global settings i recive this message:

Database error in vBulletin 3.5.3:

Invalid SQL:
SELECT data FROM wmail_settings WHERE userid=0;

MySQL Error : Table 'aeforum.wmail_settings' doesn't exist
Error Number : 1146
Date : Tuesday, May 16th 2006 @ 09:00:52 AM
Script : /admincp/wmail_admin_global.php
Referrer : /admincp/index.php?do=nav&custom=1
IP Address : 151.8.167.226
Username : Tri@de
Classname : vb_database



Trying to unistall i get this


Database error in vBulletin 3.5.3:

Invalid SQL:
DROP TABLE wmail_settings;;

MySQL Error : Unknown table 'wmail_settings'
Error Number : 1051
Date : Tuesday, May 16th 2006 @ 09:03:20 AM
Script : /admincp/plugin.php
Referrer : /plugin.php?do=productdelete&productid=hc_vbwebmail&s=
IP Address : 151.8.167.226
Username : Tri@de
Classname : vb_database


Any help?

maranello
05-16-2006, 06:06 AM
I did some research, and this is why Auth doesnt work:

The program is not compatible with the authentication method the remote server is using.

The remote server expects a specific sequence of commands from VWMAIL Server. VWMAIL Server is sending HELO command, then trying to use AUTH command. In some cases, AUTH command can be used only after sending the HELO command from VWMAIL Server. But your client doesn't know how to use AUTH command, so it can't authenticate.

donatas
05-16-2006, 06:33 AM
lol
Welcome donatas.

You have a total of -4 mails in your inbox,
that's 0 new mails since your last check

but there are 10 email on server...

Hellcat
05-16-2006, 06:49 AM
Hi folks!

1)
Install/Unsinstall issue -> I am about to figure out what goes wrong with that vB install code evaluation -> will post an updated version within the next one or two hours

2)
I am getting closer to the SMTP problem.
I totally agree that THIS has to get working before anything else makes sense.
So, this isn't only top priority, it's also the only thing I'm trying to fix ATM.

Your input (and the posting of the sessionlogs) has indeed been very helpfull so far.
I'm also talking to "my friend google" about SMTP auth's, esp. the error message that appears in the log seem to push me into the right direction :)


@donatas:
*lol* yeah, I get that too from time to time, it's an error in the communication with the POP server...
Reload helps usually....

rmxs
05-16-2006, 09:16 AM
Some Bug its FIXED now, byt still i can't sent message

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



:(

Hellcat
05-16-2006, 09:46 AM
OK, quick fix for the install/uninstall issue :)

I uploaded a compete .ZIP as wel as the single product .XML (for those that have everything uploaded and only need to fix the install/uninstall issue).

A simple "Import Product" with "Allow Overwrite" should do it.

* Hellcat now heads back to the SMTP problem....

One request:
Could someone with a SMTP server that WMail is not (yet) compatible with supply me with a (temporary) account on that SMTP server, so I can try things "on the fly" myself?
That would speed up the process since I wouldn't need to ask someone else to try every single change I made ;)

Hellcat
05-16-2006, 09:47 AM
Some Bug its FIXED now, byt still i can't sent message
:(
What exactely did you specify as sender e-mail address in your settings?

Cybertims
05-16-2006, 09:55 AM
May seem like a stupid question here.....but should it be using the server's SMTP address...or the members SMTP server address?

Cheers.

Hellcat
05-16-2006, 09:59 AM
The only stupid question is the one not asked ;)

Usually the members need to enter the SMTP server address of "THEIR" SMTP server, the server of the ISP or host who is serving/hostin the e-Mail address of them.

You can set up your own SMTP to allow relay for your members as a service.
This option would come into play when the "An E-Mail Account for every board member" feature is finished.

Cybertims
05-16-2006, 10:28 AM
The only stupid question is the one not asked ;)

Usually the members need to enter the SMTP server address of "THEIR" SMTP server, the server of the ISP or host who is serving/hostin the e-Mail address of them.

You can set up your own SMTP to allow relay for your members as a service.
This option would come into play when the "An E-Mail Account for every board member" feature is finished.

Cool......just awaiting a fix for the SMTp problem...I also tried all options to no avail.

Is it not possible to use PHP to send the email rather than SMTP? Just wondering.

Cheers.

Hellcat
05-16-2006, 10:39 AM
Using PHP's mail() function has a downside for this:
It sends the mail over YOUR server. Depending on your config your server won't allow that and some more problems that might arise.

Using the IMAP function has the (IMO mayor) downside of needing the IMAP libraries compiled into PHP (not everyone has those, incl. me ;))

[EDIT]
I just found a detailed example "dialog" Mail-Client <-> SMTP-Server on Wikipedia.
Perfect, now I can modify my "LOGIN" auth method based on this.

The "LOGIN" auth method is the one we need!
And it's almost correctely implemented, I just need to send a "EHLO" instead of a "HELO" at the beginning.
Yay,
* Hellcat checks....

TTG
05-16-2006, 10:43 AM
Updated and still having the same auth problems .. :confused:

Hellcat
05-16-2006, 10:44 AM
Updated and still having the same auth problems .. :confused:
Yop, see above post (the edit).
I think we're closing in :)

dacho
05-16-2006, 11:14 AM
Get ERROR

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT data FROM wmail_settings WHERE userid=0;

MySQL Error : Table 'dachowe_forums.wmail_settings' doesn't exist
Error Number : 1146
Date : Tuesday, May 16th 2006 @ 02:13:47 PM
Script : http://forums.dacho.co.il/admincp/wmail_admin_global.php
Referrer : http://forums.dacho.co.il/admincp/index.php?do=nav
IP Address : 84.108.68.127
Username : admin
Classname : vb_database

Hellcat
05-16-2006, 11:27 AM
- Go to the product manager and choose "edit" for WMail.
- Delete out everything in the "Uninstall code".
- Uninstall the product (should go without errors after the delete)
- Re-Import the product .XML - now all tables should be created as required.

I am about to upload another update, where the install/uninstall code is patched again, so the uninstall doesn't give any errors anymore.
So a simple uninstall/reinstall now does the trick with rc2pl2.... hopefully....

[edit]
can some1 with the SMTP issue try out the attached wmail.php and see if there's anything different now....

Snake
05-16-2006, 11:34 AM
So Hellcat, when do you think you are going to release the Final version? Do you have any idea?

PtP
05-16-2006, 11:35 AM
So Hellcat, when do you think you are going to release the Final version? Do you have any idea?

When it works for everyone would be a good guess ;)

Cybertims
05-16-2006, 11:39 AM
- Go to the product manager and choose "edit" for WMail.
- Delete out everything in the "Uninstall code".
- Uninstall the product (should go without errors after the delete)
- Re-Import the product .XML - now all tables should be created as required.

I am about to upload another update, where the install/uninstall code is patched again, so the uninstall doesn't give any errors anymore.
So a simple uninstall/reinstall now does the trick with rc2pl2.... hopefully....

[edit]
can some1 with the SMTP issue try out the attached wmail.php and see if there's anything different now....

No change here....

Hellcat
05-16-2006, 11:42 AM
When it works for everyone would be a good guess ;)
Hehee, yeah :)
I hope to get it working this week.... a 1.0 final by the weekend would be nice....

Cybertims
05-16-2006, 11:46 AM
I just fully uninstalled and re-installed....but to no avail. I still get the exact same error.

Ah wel...good try.

Hellcat
05-16-2006, 11:47 AM
Used the *pl2 version?
Did you get an error during uninstall?
Install with "Allow Override = NO"

PtP
05-16-2006, 11:52 AM
- Go to the product manager and choose "edit" for WMail.
- Delete out everything in the "Uninstall code".
- Uninstall the product (should go without errors after the delete)
- Re-Import the product .XML - now all tables should be created as required.

I am about to upload another update, where the install/uninstall code is patched again, so the uninstall doesn't give any errors anymore.
So a simple uninstall/reinstall now does the trick with rc2pl2.... hopefully....

[edit]
can some1 with the SMTP issue try out the attached wmail.php and see if there's anything different now....

Definatly some change but no result yet sorry ;)


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

Connection to mail.mydomain.com:25....
Sent: ehlo 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:ptp@mydomain.com
Rcvd: 250-server.myhost.com Hello localhost [xxx.xxx.xx.xx]
Sent: RCPT TO:ptp@myotheremail.net.au
Rcvd: 250-SIZE 52428800
Sent: DATA
Rcvd: 250-PIPELINING
Sent: QUIT
Rcvd: 250-AUTH PLAIN LOGIN

Hellcat
05-16-2006, 11:57 AM
Definatly some change but no result yet sorry ;)
OK, then a new inc_smtp.php as well....

Snake
05-16-2006, 11:59 AM
Hehee, yeah :)
I hope to get it working this week.... a 1.0 final by the weekend would be nice....
Sweeet! Man once Final is out, I'll be happy to make a few donation to ya. ;)

Cybertims
05-16-2006, 12:29 PM
Same error for me after the upgrade...and the additional changes you mention...

Just an observation....

It is trying to connect to my smtp server smtp.bulldogdsl.com:25 but the smtp server address I have and works in Outlook is simply...smtp.bulldogdsl.com without the :25

would it matter that this is in there in your script??

Here's the error I get

Connection to mail.bulldogdsl.com:25....failed: Connection refused

also top of the screen I get this.....

Warning: fsockopen(): unable to connect to mail.bulldogdsl.com:25 in /wmail/inc_smtp.php on line 49

There is no authentication needed on this server the ISP tell me.

Cheers.

dreck
05-16-2006, 12:41 PM
One request:
Could someone with a SMTP server that WMail is not (yet) compatible with supply me with a (temporary) account on that SMTP server, so I can try things "on the fly" myself?
That would speed up the process since I wouldn't need to ask someone else to try every single change I made ;)PM sent

dreck
05-16-2006, 12:49 PM
Was their to be a new auth type? I still only see three.
Login
plain
none

I used both new files & reimported the new xml

I still get what looks like same error:

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

Connection to mail.thisdarncar.com:25....
Sent: ehlo localhost
Rcvd: 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
Sent: auth login
Rcvd: 250-box115.bluehost.com Hello box115.bluehost.com [70.103.140.115]
Sent: MAIL FROM:dreck@thisdarncar.com
Rcvd: 250-SIZE 52428800
Sent: RCPT TO:stu@thisdarncar.com
Rcvd: 250-PIPELINING
Sent: DATA
Rcvd: 250-AUTH PLAIN LOGIN
Sent: QUIT
Rcvd: 250-STARTTLS

SweetHome
05-16-2006, 12:52 PM
woow good!

MThornback
05-16-2006, 01:33 PM
im having the same errors as you can you tell me what you did to fix this?

Go into the product (if hellcat's fix isn't working for you) and take the CREATE TABLE SQL queries at the beginning and take out the VB code that surrounds it and run it in your phpmyadmin, 3 tables didn't load when I installed, so I did them manually....if you need help cleaning out the queries PM me and i'll be happy to help. I don't want to monopolize the thread :)

MThornback
05-16-2006, 01:35 PM
Was their to be a new auth type? I still only see three.
Login
plain
none

I used both new files & reimported the new xml

I still get what looks like same error:

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

Connection to mail.thisdarncar.com:25....
Sent: ehlo localhost
Rcvd: 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
Sent: auth login
Rcvd: 250-box115.bluehost.com Hello box115.bluehost.com [70.103.140.115]
Sent: MAIL FROM:dreck@thisdarncar.com
Rcvd: 250-SIZE 52428800
Sent: RCPT TO:stu@thisdarncar.com
Rcvd: 250-PIPELINING
Sent: DATA
Rcvd: 250-AUTH PLAIN LOGIN
Sent: QUIT
Rcvd: 250-STARTTLS



Hes said he had a problem with the way he was doing the server handshake :p for sending mail...watch this space, hes said hes found something to help him with the issue...

Sorry for the doublepost folks :confused:

filburt1
05-16-2006, 01:46 PM
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.
2.5.1p has been available for quite some time now.

rmxs
05-16-2006, 02:15 PM
What exactely did you specify as sender e-mail address in your settings?


my mail...Byt Ok i fix it..

I unistall the OLD one and i install the product hc vbwebmail092pl2.xml


and now it WORKS... :)

Sent and reply normaly

TTG
05-16-2006, 02:32 PM
I un-installed the OLD one and i installed the latest hc vbwebmail092pl2.xml ..

I can now receive but not send ..

Getting there :)

MThornback
05-16-2006, 03:00 PM
Hellcat, is there a reason you can think of that the links you have setup wouldn't work? I checked the str replace...and they don't look like they interfere with any of the other hacks I have installed....except the FAQ one....but I turned that off....

MissKalunji
05-16-2006, 03:04 PM
im having the same problem


Connection to mail.dancehallareaz.com:25....
Sent: helo localhost
Rcvd: 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
Sent: MAIL FROM:jamaican_dymes69@hotmail.com
Rcvd: 250 server.dancehallareaz.com Hello localhost [72.29.92.219]
Sent: RCPT TO:jamaican_dymes69@hotmail.com
Rcvd: 250 OK
Sent: DATA
Rcvd: 550-server.dancehallareaz.com (localhost) [72.29.92.219] is currently not
Sent: QUIT
Rcvd: 550-permitted to relay through this server. Perhaps you have not logged into

maranello
05-16-2006, 08:49 PM
I uploaded the new php files, vwmail.php and inc_stmp.php, no change here. Its not the same error message, but its still not working.

Hellcat
05-17-2006, 12:28 AM
With the VERY helpfull support of dreck I seem to have managed to get it going :)

I tried the current update (0.93) on the SMTP account dreck supplied me with and I finally could send mail without getting errors :)

Everyone who has the SMTP issue, upload the new files (if you already running 0.92 (RC2) there is no need to re-import the product .XML!) and try again using "LOGIN" authentication type.

Waiting for feedback now :)

Hellcat
05-17-2006, 12:30 AM
Hellcat, is there a reason you can think of that the links you have setup wouldn't work? I checked the str replace...and they don't look like they interfere with any of the other hacks I have installed....except the FAQ one....but I turned that off....
Is none of them showing up?
Try going to the admin options where you can set what link should be added and re-save the options - even when using the defaults, hit SAVE....

MissKalunji
05-17-2006, 12:48 AM
:( im still getting the same error

MissKalunji
05-17-2006, 12:57 AM
and im not receiving e-mail either :( am i missing something?

Hellcat
05-17-2006, 01:06 AM
:( im still getting the same error
What errors do you get when trying to send and recieve??

What is your setup for the servers?

MissKalunji
05-17-2006, 01:11 AM
Ok in the pop3 host i put mail.dancehallareaz.com same thing for smtp

and auth type i put login like you said.

now when i go the vmail.php

i put misskalunji + password

and when i try to send i get this error

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



Connection to mail.dancehallareaz.com:25....
Rcvd: 220-server.dancehallareaz.com ESMTP Exim 4.52 #1 Tue, 16 May 2006 22:10:59 -0400
Rcvd: 220-We do not authorize the use of this system to transport unsolicited,
Rcvd: 220 and/or bulk e-mail.
Sent: ehlo localhost
Rcvd: 250-server.dancehallareaz.com Hello localhost [72.29.92.219]
Rcvd: 250-SIZE 52428800
Rcvd: 250-PIPELINING
Rcvd: 250-AUTH PLAIN LOGIN
Rcvd: 250-STARTTLS
Rcvd: 250 HELP
Sent: auth login
Rcvd: 334 VXNlcm5hbWU6
Sent: encoded login
Rcvd: 334 UGFzc3dvcmQ6
Sent: encoded password
Rcvd: 535 Incorrect authentication data
Sent: MAIL FROM:misskalunji@dancehallareaz.com
Rcvd: 250 OK
Sent: RCPT TO:misskalunji@dancehallareaz.com
Rcvd: 250 Accepted
Sent: DATA
Rcvd: 354 Enter message, ending with "." on a line by itself
Rcvd: 250 OK id=1FgBV5-0001iW-3Q
Sent: QUIT
Rcvd: 221 server.dancehallareaz.com closing connection
Rcvd:

TTG
05-17-2006, 01:19 AM
Upgraded and can receive .. send produces :-

Connection to mail.techguyscafe.com:25....
Rcvd: 220-web10.000025.net ESMTP Exim 4.60 #0 Wed, 17 May 2006 03:17:39 +0100
Rcvd: 220-We do not authorize the use of this system to transport unsolicited,
Rcvd: 220 and/or bulk e-mail.
Sent: ehlo localhost
Rcvd: 250-web10.000025.net Hello localhost [213.230.203.86]
Rcvd: 250-SIZE 52428800
Rcvd: 250-PIPELINING
Rcvd: 250-AUTH PLAIN LOGIN
Rcvd: 250-STARTTLS
Rcvd: 250 HELP
Sent: auth login
Rcvd: 334 VXNlcm5hbWU6
Sent: encoded login
Rcvd: 334 UGFzc3dvcmQ6
Sent: encoded password
Rcvd: 535 Incorrect authentication data
Sent: MAIL FROM:
Rcvd: 501 MAIL must have an address operand
Sent: RCPT TO:http://www.techguyscafe.com/forum/
Rcvd: 503 sender not yet given
Sent: DATA
Rcvd: 503 valid RCPT command must precede DATA
Sent: QUIT
Rcvd: 221 web10.000025.net closing connection

MissKalunji
05-17-2006, 01:24 AM
I cant receive :-/

Hellcat
05-17-2006, 01:25 AM
Rcvd: 535 Incorrect authentication data
That seems to be the problem....

@TTG: You also have no sender address specified.

Hmm.... what could cause the auth to fail, the server isn't accepting the username/password....
The rest seems to be OK so far....

* Hellcat thinks

MissKalunji
05-17-2006, 01:26 AM
*scratches head* along with hellcat

Hellcat
05-17-2006, 01:28 AM
i put misskalunji + password
That's the correct user for POP/SMTP server?
You are using the same information as in your mail program?

MissKalunji
05-17-2006, 01:29 AM
Yep would you wanna try yourself?

MissKalunji
05-17-2006, 01:31 AM
in username am i suppoe to be using misskalunji@dancehallareaz.com or just the MissKalunji

MissKalunji
05-17-2006, 01:32 AM
it worked :)

when it says username it should be : username@yourdomain.com

now lets see if i received it!

MissKalunji
05-17-2006, 01:33 AM
yayeeeeeeeeeeeeeeeeeeeee received and sent good job hellcat!

MThornback
05-17-2006, 01:35 AM
All fixed on my end SMTP wise! Great fix! :D

As to text replacement....still not working....no big deal i'll edit the template :p the hack is worth it! :p


Edit...another suggestion....if you have a new e-mail it flashes like it can for a new PM :) thats icing on the cake for the full release maybe? :) just a thought :p

dreck
05-17-2006, 01:42 AM
Everyone who has the SMTP issue, upload the new files (if you already running 0.92 (RC2) there is no need to re-import the product .XML!) and try again using "LOGIN" authentication type.

Waiting for feedback now :)Works like a charm! :banana:


Thanks, dreck

MissKalunji
05-17-2006, 01:46 AM
I tried it real quick & no go.
I need to get some sleep, I will look my settings over better tomar.

Thanks, dreck

In settings (in vmail.php)

for username instead of using myname use myname@yourdomain.com

see if that worked

dreck
05-17-2006, 01:48 AM
In settings (in vmail.php)

for username instead of using myname use myname@yourdomain.com

see if that workedI edit my post, after posting I retype my password & saved & it worked. Go figure! hehe

MissKalunji
05-17-2006, 01:49 AM
Good!!!!! :)

dreck
05-17-2006, 01:55 AM
I did notice a error message you may want to look at fixing. When you delete you get the "Your inbox is empty" message, but above is "Error". Attached is a picture.

Also a request: Be nice if you could have more than one account. I have 4 emails i use daily. Just an idea!

Thanks Hellcat, You ROCK!

dreck

Hellcat
05-17-2006, 02:15 AM
Works like a charm! :banana:
YESSSSSSSSSSSSSSSSSSSSSSS
* Hellcat bounces :banana:


Good!!!!! :)
Does that mean it's now working for you?
[edit]
just read your above posts ;)
cool :)
Glad it seems working now for everyone.

I did notice a error message you may want to look at fixing. When you delete you get the "Your inbox is empty" message, but above is "Error".
I was tempted to put a "Does noone like you?" in there :D:p
Well, I can change that to.... "Notice" maybe :)


Also a request: Be nice if you could have more than one account. I have 4 emails i use daily. Just an idea!
Yep, a feature to support multiple config sets is already on my ToDo :)




Soooo....
I think now it's time for some final tweaking and tuning and we schould very soon have a 1.00 final :) yay! :):):)

And then we can move forward to new features!

MissKalunji
05-17-2006, 02:22 AM
One more thing!

its messing up my style when i send an e-mail

check attachement

Hellcat
05-17-2006, 03:12 AM
One more thing!

its messing up my style when i send an e-mail

check attachement
Hmm, weird....
Worked fine with every other style I tried so far, I'll double check the templates....

MissKalunji
05-17-2006, 03:16 AM
Uhm suggestion? perhaps because that style uses pixels? in the coding?

maranello
05-17-2006, 06:45 AM
Alright, STMP works now, great:D

maranello
05-17-2006, 06:46 AM
Umm, now there is another bug, I cant seem to delete e-mails in my inbox:confused: :confused:

Hellcat
05-17-2006, 06:53 AM
Umm, now there is another bug, I cant seem to delete e-mails in my inbox:confused: :confused:
Only from the inbox view, or from reading a mail as well?

junaid
05-17-2006, 07:24 AM
hello.
Now this is error on my control panel
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /wmail/inc_accessconfig.php on line 11

Hellcat
05-17-2006, 07:28 AM
AHHHHH!
I thought I had eleminated those....

checking....

dacho
05-17-2006, 08:42 AM
I work whis SMPT mail server and there is ERROR
Database error in vBulletin 3.5.4:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'admin',
`description` = '',
`usertitle` = 'Administrator',
`opentag` = '<font color=\"#000000\"><b>',
`closetag` = '</b></font>',
`passwordexpires` = '180',
`passwordhistory` = '360',
`anymediapermissions` = '1',
`hackdbperm` = '15',
`pagerpermissions` = '13',
`pagerquota` = '0',
`pagerminpost` = '0',
`pagerminpostperday` = '0',
`pagermaxperday` = '0',
`pagersendmax` = '0',
`pagersendmaxchar` = '300',
`tutperm` = '2039',
`arcadepermissions` = '255',
`vbppermissions` = '65535',
`vbp_discountrate` = '0.00000',
`vbp_paycheckamount` = '0.00000',
`vbp_secondarycost` = '0.00000',
`vbp_primarycost` = '0.00000',
`forumpermissions` = '1048575',
`attachlimit` = '0',
`pmquota` = '250',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions` = '205520831',
`genericoptions` = '31',
`profilepicmaxwidth` = '333',
`profilepicmaxheight` = '333',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '200',
`avatarmaxheight` = '200',
`avatarmaxsize` = '20000',
`wmailpermissions` = '1'
WHERE usergroupid=6;

MySQL Error : Unknown column 'wmailpermissions' in 'field list'
Error Number : 1054
Date : Wednesday, May 17th 2006 @ 11:39:24 AM
Script : http://forums.dacho.co.il/admincp/usergroup.php
Referrer : http://forums.dacho.co.il/admincp/usergroup.php?do=edit&usergroupid=6
IP Address : XXX.XXX.68.127
Username : admin
Classname : vb_database

Omranic
05-17-2006, 10:51 AM
Great
Its sounds to be a new thinking about vbulletin hacking

thanks alot

-----------------------

Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /wmail/inc_smtp.php on line 49

Warning: fsockopen() [function.fsockopen]: unable to connect to :25 in /wmail/inc_smtp.php on line 49

this error appears when I try to send mail MSG without setup my settings & without setting up my contacts

Snake
05-17-2006, 12:29 PM
Thanks again for the update! :)

dreck
05-17-2006, 01:38 PM
YESSSSSSSSSSSSSSSSSSSSSSS
* Hellcat bounces:cool:
I was tempted to put a "Does noone like you?" in there
Well, I can change that to.... "Notice" maybe
hehe, "Does noone like you?" would be funny. But might not be professional. :D
Yep, a feature to support multiple config sets is already on my ToDocool
Soooo....
I think now it's time for some final tweaking and tuning and we schould very soon have a 1.00 final yay!Heck ya! :smoke:

TTG
05-17-2006, 04:33 PM
Almost ready to give up on this puppy .. whichever setting I use None, Login, Plain

Connection to mail.techguyscafe.com:25....
Rcvd: 220-web10.000025.net ESMTP Exim 4.60 #0 Wed, 17 May 2006 18:32:05 +0100
Rcvd: 220-We do not authorize the use of this system to transport unsolicited,
Rcvd: 220 and/or bulk e-mail.
Sent: helo localhost
Rcvd: 250 web10.000025.net Hello localhost [213.230.203.86]
Sent: encoded auth
Rcvd: 503 AUTH command used when not advertised
Sent: MAIL FROM:thexxxxxxx@techguyscafe.com
Rcvd: 250 OK
Sent: RCPT TO:xxxxxxxx1@gmail.com
Rcvd: 550-web10.000025.net (localhost) [213.230.203.86] is currently not permitted to
Rcvd: 550-relay through this server. Perhaps you have not logged into the pop/imap
Rcvd: 550-server in the last 30 minutes or do not have SMTP Authentication turned on
Rcvd: 550 in your email client.
Sent: DATA
Rcvd: 503 valid RCPT command must precede DATA
Sent: QUIT
Rcvd: 221 web10.000025.net closing connection

MotoUp
05-17-2006, 06:35 PM
You could always test out a live demo rather then screen shots

http://vbdev.area-42.net/wmail.phpUsername and password?

Hellcat
05-17-2006, 07:10 PM
@dacho:
Make sure you have 0,93 installed, UNINSTALL and re-import the 0.93 product .XML, that should re-create all tables and columns.



this error appears when I try to send mail MSG without setup my settings & without setting up my contacts
Why so you try to send without setting up your settings?
That doesn't make any sense....

Well, I see how to capture those errors....


@TTG:
That sessions doesn't come from a "LOGIN" auth.
Can you post a session log using "LOGIN", I might find an error in there....

Hellcat
05-17-2006, 07:11 PM
Username and password?
Just register yourself one there.
No eMail or whatsoever verification needed, you don't even have to supply a valid eMail....

melefire
05-17-2006, 08:24 PM
i get the welcome panel every time i click a link or somthing with in wmail

MojoNixon
05-17-2006, 08:46 PM
Incoming Mails are working like a charm ..but the outgoing mails are not working:
When i set the settings to auth type login and return to that page i see its again on "none". Why this?

Connection to localhost:25....
Rcvd: 220 xxx.pureserver.info ESMTP Postfix
Sent: helo localhost
Rcvd: 250 xxx.pureserver.info
Sent: MAIL FROM:
Rcvd: 501 Syntax: MAIL FROM:

Sent: RCPT TO:info@xx
Rcvd: 503 Error: need MAIL command
Sent: DATA
Rcvd: 503 Error: need RCPT command
Sent: QUIT
Rcvd: 221 Bye
Rcvd:

Hellcat
05-17-2006, 08:55 PM
@melfire:
I *may* have a clue for this....

@Mojo:
Maybe only a display issue.
Set it to "LOGIN", hit save and disregarding what it displays the, hit the "Settings" links again and see what it shows you....

TTG
05-17-2006, 09:20 PM
@TTG:
That sessions doesn't come from a "LOGIN" auth.
Can you post a session log using "LOGIN", I might find an error in there....

thanks for all your efforts :)

Connection to mail.techguyscafe.com:25....
Rcvd: 220-web10.000025.net ESMTP Exim 4.60 #0 Wed, 17 May 2006 23:16:35 +0100
Rcvd: 220-We do not authorize the use of this system to transport unsolicited,
Rcvd: 220 and/or bulk e-mail.
Sent: ehlo localhost
Rcvd: 250-web10.000025.net Hello localhost [213.230.203.86]
Rcvd: 250-SIZE 52428800
Rcvd: 250-PIPELINING
Rcvd: 250-AUTH PLAIN LOGIN
Rcvd: 250-STARTTLS
Rcvd: 250 HELP
Sent: auth login
Rcvd: 334 VXNlcm5hbWU6
Sent: encoded login
Rcvd: 334 UGFzc3dvcmQ6
Sent: encoded password
Rcvd: 535 Incorrect authentication data
Sent: MAIL FROM:xxxxxxxx@techguyscafe.com
Rcvd: 250 OK
Sent: RCPT TO:xxxxxx@gmail.com
Rcvd: 250 Accepted
Sent: DATA
Rcvd: 354 Enter message, ending with "." on a line by itself
Rcvd: 250 OK id=1FgUJn-000EN4-2L
Sent: QUIT
Rcvd: 221 web10.000025.net closing connection

MojoNixon
05-17-2006, 09:24 PM
@melfire:
I *may* have a clue for this....

@Mojo:
Maybe only a display issue.
Set it to "LOGIN", hit save and disregarding what it displays the, hit the "Settings" links again and see what it shows you....

hi,

it just turned back to Auth Type "None"...

Hellcat
05-17-2006, 11:30 PM
@MojoNixon:
All other settings kept saved?
Check your "WMail Options" -> "Global Settings" in the AdminCP and be sure the AUTH-Type there is set to "NO OVERRIDE", then try again.


Rcvd: 535 Incorrect authentication dataThat's it! That's the problem!
Did you add a "@domain.tld" after the username in the SMTP settigns?
That solved this issue for others that still had sending trouble.
Or vise versa, if you did, try removing it.

MojoNixon
05-18-2006, 04:27 AM
@MojoNixon:
All other settings kept saved?
Check your "WMail Options" -> "Global Settings" in the AdminCP and be sure the AUTH-Type there is set to "NO OVERRIDE", then try again.


That's it! That's the problem!
Did you add a "@domain.tld" after the username in the SMTP settigns?
That solved this issue for others that still had sending trouble.
Or vise versa, if you did, try removing it.

Thanx mate, that solved my problem. I overlooked the options there. :D

But now another problem, but i guess its a 777 thingy:

Warnung: move_uploaded_file(/home/htdocs/web1/html/board/wmail/temp/a8b7b652e57c5845e310cf0b9f1dd3ad) [function.move-uploaded-file]: failed to open stream: Permission denied in /wmail.php (Zeile 499)

Warnung: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/home/htdocs/web1/phptmp/phpXx8RCv' to '/home/htdocs/web1/html/board/wmail/temp/a8b7b652e57c5845e310cf0b9f1dd3ad' in /wmail.php (Zeile 499)

Hellcat
05-18-2006, 04:50 AM
Yap.
777 that folder and it should work :)

MThornback
05-18-2006, 05:32 AM
I can't be sure about this....but I think that this caused a problem with my mail host....my domain mail accounts started experiencing problems the day after you got this working....any idea what if anything in the code that could do that? Its a longshot...and i'm not pointing fingers....just trying to trobleshoot

Tri@de
05-18-2006, 06:06 AM
There's a way to put multiple pop to check diffent e-mails?

VBUsers
05-18-2006, 07:11 AM
One more thing!

its messing up my style when i send an e-mail

check attachement


i have this same issue, any luck fixing it?

Cybertims
05-18-2006, 07:14 AM
where can I remove the :25 bit from the code......I think that is what is causing my problem, it never finds the smtp server at all although I know it's the right address.

If I ping smtp.bulldogdsl.com it finds it fine if I ping smtp.bulldogdsl.com:25 it doenst find anything.

Cheers.

Hellcat
05-18-2006, 08:15 AM
I can't be sure about this....but I think that this caused a problem with my mail host....my domain mail accounts started experiencing problems the day after you got this working....any idea what if anything in the code that could do that? Its a longshot...and i'm not pointing fingers....just trying to trobleshoot
Hmm, it "talks" to the POP3 and SMTP server just like Outlook would, for example.
So I'd have no idea what could be caused by this....

What kind of problems?



There's a way to put multiple pop to check diffent e-mails?
Like mentioned a few posts before, a plan to support multiple config sets per user (and so multiple eMail setups/accounts) is already on my ToDo :)



i have this same issue, any luck fixing it?
Is it a public/free style?
So I could get my hands on it to install it on my dev board for testing and fixing (of my templates)?



where can I remove the :25 bit from the code......I think that is what is causing my problem, it never finds the smtp server at all although I know it's the right address.

If I ping smtp.bulldogdsl.com it finds it fine if I ping smtp.bulldogdsl.com:25 it doenst find anything.

Cheers.
The ":25" is the TCP port number. It's not inlucded in the actuall address connected to, ip:port is just a common way to display it.

You can't "ping" a special port, only an IP address (don't want to get to technical here.... unless you ask for ;))

In the next update you'll have the option to set the port for POP3 and SMTP to whatever you like (it's already finished)

You may ask your host if they are blocking socket connections from PHP scripts....
(I tried connecting to the SMTP sever you posted above on port 25 -> worked)

VBUsers
05-18-2006, 08:20 AM
Is it a public/free style?
So I could get my hands on it to install it on my dev board for testing and fixing (of my templates)?



no its not a free one but i fixed it by changing my smiley count on my postbit. if you find a fix let me know

TTG
05-18-2006, 09:11 AM
That's it! That's the problem!
Did you add a "@domain.tld" after the username in the SMTP settigns?
That solved this issue for others that still had sending trouble.
Or vise versa, if you did, try removing it.

already tried that and still no go :tired:

uninstalled

Hellcat
05-19-2006, 08:18 AM
OK, just uploaded 0.94 - let's bring it, knowing me there are still a few blowing showstoppers....

rmxs
05-19-2006, 03:35 PM
I just install it and some option disapeard like this option to usegroup..

its ok now i rebuild the styles... Sorryyyy :)

Jay...
05-19-2006, 04:01 PM
Does this allow users to signup for username@yourdomain.com??? or fo they have to use their own e-mail address?

thanks

rmxs
05-19-2006, 04:04 PM
Does this allow users to signup for username@yourdomain.com??? or fo they have to use their own e-mail address?

thanks
No dosn't there is somewere a hack that you can use it so users can make mail like NAME@yourdomain.com (cpanel mail) or something like that its the name of the hack..

this is just an email client

rmxs
05-19-2006, 04:05 PM
ONE SUGGESTION FROM ME:Its possible to add the ability for multiple accounts?

Tapiocapioca
05-19-2006, 05:54 PM
I can't send mail!!

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

Connection to smtp.spazioumts.org:25....failed: Connection refused

Under outlook express same account work!

I make a test account... Please test for me!!

User: wmailtest@spazioumts.org
Password: wmailtest
server: smtp.spazioumts.org

smtp required autentication

Sorry for my english!!!

Snake
05-19-2006, 06:51 PM
Hooray another update! :D

Hellcat
05-19-2006, 07:41 PM
@Tapiocapioca:
I'll a look at it....



Does this allow users to signup for username@yourdomain.com??? or fo they have to use their own e-mail address?

thanks
It will support such a feature in a future version!
I already have a plan on how to implement this! :)
Just need to write it into PHP....


ONE SUGGESTION FROM ME:Its possible to add the ability for multiple accounts?
Like the above, this a definately planned feature for an upcomming release (first let's get the remaining bugs fixed ;))

Hellcat
05-19-2006, 09:46 PM
I updated the list of 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".

Ramsesx
05-20-2006, 08:19 AM
I updated the list of 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".

hey that sound very cool, thank you. :)

Snake
05-20-2006, 09:42 AM
I updated the list of 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".

That sounds great. I can't wait for the next release! Keep on the good work, Hellcat! ;)

Parker Clack
05-21-2006, 01:23 AM
Hellcat:

Again. Great script. I am still having an issue with deleting all the posts an once. Let's say I have 25 unread messages. I click on the (de)select all and it checks them all off. I click on the delete button and only about 15 of the 25 get deleted. If I select the remainder and click on delete it will not remove them. I have to go in and up each email and then click on the delete link for that email.

Thanks for all the improvements.

Guest210212002
05-21-2006, 02:23 AM
/me clicks install

fuldon
05-21-2006, 11:58 AM
Hellcat
I use charset 1251. I have problem with subject.

P.S. Sorry for my english.

Hellcat
05-21-2006, 02:09 PM
Hellcat
I use charset 1251. I have problem with subject.

P.S. Sorry for my english.
What kind of problems?

MThornback
05-22-2006, 09:49 AM
Apologies if someone reported this already....

In template webmail_settings

find:

vbphrase[wmail_port]


SMTP one is missing $ in front of it :)


Edit: I made a few cosmetic changes to the template besides...repositioned the buttons and added the paperclip image for attachments instead of the one you used....lemmie know if your interested in the alternative :)

Guest210212002
05-22-2006, 02:53 PM
Uncached templates: webmail_mailbox (1)
Uncached templates: webmail_mailboxitem (7)

Before I manually cache these, is there something I'm missing?

Edit: Post above mine fixes it. That's what I get for searching "uncached" instead of readin' the whole thread. :D

rmxs
05-22-2006, 03:06 PM
TOday without do to something (i restart only the sql server)

im get this
Uncached templates: webmail_mailbox (1)
Uncached templates: webmail_mailboxitem (3)

what happent and how can i cache this templates...

rmxs
05-22-2006, 03:16 PM
Apologies if someone reported this already....

In template webmail_settings

find:


SMTP one is missing $ in front of it :)


Edit: I made a few cosmetic changes to the template besides...repositioned the buttons and added the paperclip image for attachments instead of the one you used....lemmie know if your interested in the alternative :)
I add this and the uncached templates GONE

Tapiocapioca
05-22-2006, 03:52 PM
I can't send mail!!

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

Connection to smtp.spazioumts.org:25....failed: Connection refused

Under outlook express same account work!

I make a test account... Please test for me!!

User: wmailtest@spazioumts.org
Password: wmailtest
server: smtp.spazioumts.org

smtp required autentication

Sorry for my english!!!


Help me!

Hellcat
05-22-2006, 08:06 PM
Check if the host where you run the forum blocks socket connections from PHP scripts.
Some do that....

TOday without do to something (i restart only the sql server)
im get this
Uncached templates: webmail_mailbox (1)
Uncached templates: webmail_mailboxitem (3)
When did this happen?

Hellcat
05-22-2006, 08:08 PM
Apologies if someone reported this already....

In template webmail_settings
SMTP one is missing $ in front of it :)

Edit: I made a few cosmetic changes to the template besides...repositioned the buttons and added the paperclip image for attachments instead of the one you used....lemmie know if your interested in the alternative :)
Whooooops.... that $ slipped...
* Hellcat fixes

And yeah, I am definately interested in cosmetic enhacement :)

MThornback
05-22-2006, 08:44 PM
The webmail_homepage template may or may not look funny...I was starting to toy with changing the layout a bit for it...and the changes I made are quick and dirty....the img url is right in the template rather than making a variable for it or anything like that...I widened the error that appears when there are no messages to view to make it equal with the controls at the bottom and centered the title and the error message itself

Another couple of suggestions I came across for you...for the address book:

making it possible to group contacts into a mailing list....

Administrators being able to have a list of contacts AND a list of user account addresses to save a trip to the ACP

Other suggestion:

Ability to save a draft....something reasonable like 5 per user? or customizable per group?

Hellcat
05-22-2006, 08:51 PM
@MThornback:
Cool, will look at the template changes :)

For the other things:
Mailinglist: yep, had thought of that as well - must see how to implement that best
Admin: You're talking about the eMails of all register users?
Save as draft: I want to implement support for folders - saving as a draft could be easily put in there then....

MThornback
05-22-2006, 09:27 PM
Mailing List....what I was thinking was being able to create a group...and have arrow buttons to move contacts into them and a copy contact button so it would like this in the contact list:

--Group Name
----Group Member
Contact

--Forum Staff
----Admin1
----SuperMod1
Jow Blow

Admin:
Yea, calling the username, real name & e-mail column from the user table

Save as draft: Cool :)


Another idea for you....

A Forum Junk mail list....let Admin's configure a list of junk accounts and domains...and maybe even have a "report" link that will give the link to Admin's to add to the list :)


I wish there was a user title for idea guy :p

Tralala
05-22-2006, 09:33 PM
I updated the list of 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".


Holy moly these features sound absolutely incredible. Go, Hellcat, go!

MThornback
05-22-2006, 09:34 PM
I can't send mail!!

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

Connection to smtp.spazioumts.org:25....failed: Connection refused

Under outlook express same account work!

I make a test account... Please test for me!!

User: wmailtest@spazioumts.org
Password: wmailtest
server: smtp.spazioumts.org

smtp required autentication

Sorry for my english!!!

Did you try both SMTP authentications? Plain and Login?

try re-importing the product (overwrite: yes)...I find sometimes that if I overwrite....little glitches disappear on their own :) ....may or may not work :confused:

Nj?rd Eriksson
05-23-2006, 11:27 PM
When you update the software, please consider to encrypt the email passwords that are stored in the database

This is a serious security concern.

Hellcat
05-23-2006, 11:54 PM
When you update the software, please consider to encrypt the email passwords that are stored in the database

This is a serious security concern.
Yes, that's something I want to implement ASAP.
However, since the passwords have to be accessible, there must be a decrypt function in the script - a hash would not work.
An admin who intentionally wants to get hold of the passwords could simply use the decrypt funtion to get them.

But during some chats on IM about this issue I got the following, I will definately build into one of the next updates (hopefully 1.0final):
Besides crypting login details in the database a user option to save the login details in a cookie on the local machine instead of saving them in the forum's database.

This (almost) eliminates the need to re-enter the login details everytime a user wants to use this, but also doesn't send it to anywhere else.
Only when the user uses another computer or the cookie gets deleted (on logout for instance) he has to re-enter the login details.

If the user trusts his admin(s) he can still let the login details be saved (in some way crypted to avoid "fly by" catching) in the forum's database to never have to enter them again.

dreck
05-23-2006, 11:56 PM
I updated the list of 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".
Great! ;)
The wmail094rc4 updated fine & works great, Thanks!
When you update the software, please consider to encrypt the email passwords that are stored in the database

This is a serious security concern.hmm

dreck
05-24-2006, 12:03 AM
Yes, that's something I want to implement ASAP.
However, since the passwords have to be accessible, there must be a decrypt function in the script - a hash would not work.
An admin who intentionally wants to get hold of the passwords could simply use the decrypt funtion to get them.

But during some chats on IM about this issue I got the following, I will definately build into one of the next updates (hopefully 1.0final):
Besides crypting login details in the database a user option to save the login details in a cookie on the local machine instead of saving them in the forum's database.

This (almost) eliminates the need to re-enter the login details everytime a user wants to use this, but also doesn't send it to anywhere else.
Only when the user uses another computer or the cookie gets deleted (on logout for instance) he has to re-enter the login details.

If the user trusts his admin(s) he can still let the login details be saved (in some way crypted to avoid "fly by" catching) in the forum's database to never have to enter them again.Yea the cookie idea is just fine with me. I think just having the email address & server info in the settings is just fine. Having to type in your password everytime is not that big of a deal. And users can always store their password in the local pc cookies.

Just my 2 cent


dreck

sybarites
05-24-2006, 06:06 AM
Hi, I am very interested in this but is their anyway to give users their own email address which is their username@mydomain.com?

If so I am very interested

Thanks

Hellcat
05-24-2006, 09:14 AM
Hi, I am very interested in this but is their anyway to give users their own email address which is their username@mydomain.com?

If so I am very interested

Thanks
It's on the planned features list.

Snake
05-24-2006, 06:58 PM
It's on the planned features list.
AH SWEET! That would be really great man! :D

BeaLzeBuB
05-24-2006, 07:50 PM
workssss

click install

corn dog
05-24-2006, 08:06 PM
Hmm. I seem to get an error everytime I try to send a message :-/

dreck
05-24-2006, 10:10 PM
Hmm. I seem to get an error everytime I try to send a message :-/Double check your settings
make sure you typed in your email right.
name@google.com

kurtbarker
05-25-2006, 01:05 AM
mate, you are a damn legend... this hack is absolute marvel... I spend so much time on my forum and having to log into cpanel seperately was a pain in the bum... THANKS :D

Shaliza
05-27-2006, 09:21 AM
Amazing that you did this from scratch.

webgroup
05-27-2006, 08:34 PM
any feature to add and admin pre-selected signature to all emails send by the system?

Like: Email send via or by FORUMNAME.TLD

Hellcat
05-27-2006, 11:21 PM
any feature to add and admin pre-selected signature to all emails send by the system?

Like: Email send via or by FORUMNAME.TLD
Something like that could easiely be implemented....
Will put it on my ToDo :)

sybarites
05-28-2006, 10:56 PM
Any info on the next update?

Hellcat
05-28-2006, 11:05 PM
Any info on the next update?
I didn't much time for coding this week :(
But I have the next two :)

1.00 final is pretty near, should come within the next days.
I hope to find the cause for one or two remaining bugs, and like to implement the above mentioned option to store login details in a local cookie instead of the server and baybe some sort of (simple) encrytion of it.

Once that's done, I'll head straight to the new featues - already got some plans made up :)

dreck
05-29-2006, 01:48 PM
I didn't much time for coding this week :(
But I have the next two :)

1.00 final is pretty near, should come within the next days.
I hope to find the cause for one or two remaining bugs, and like to implement the above mentioned option to store login details in a local cookie instead of the server and baybe some sort of (simple) encrytion of it.

Once that's done, I'll head straight to the new featues - already got some plans made up :)nice :up: ;)

sybarites
05-29-2006, 07:11 PM
What will 1.00 have?

PtP
05-29-2006, 09:08 PM
What will 1.00 have?

Not much more we hope, the idea of a final is to be bugfree as possible, not to be a release with lots of new features. ;)

Hellcat
05-29-2006, 09:56 PM
Not much more we hope, the idea of a final is to be bugfree as possible, not to be a release with lots of new features. ;)
Yep!
You got the point! :)

1.00 will hopefully be pretty "clean" of bugs.

But like said a few posts above, I already got plans laid out for some of the bigger new features (mainly the "provide eMail address to forum users" thing) and I got quite some time to do the coding the next two weeks.
So, an update with new features will not take too long as well :)

I really want to get this going, it's my biggest mod for vB so far and I want it to become huge :bunny:

kurtbarker
05-30-2006, 07:08 AM
hey mate, sorry if this has been covered, but I didn't wanna read 16 pages...

I loged in, and went to wmail.php and got a screen with no emails, so I clicked 'Get Mail' and they all appeared... that was strange... Am downloading an attachment and go back to the main wmail.php page, and am now getting this:
You have a total of -4 mails in your inbox,
that's 0 new mails since your last check.

and note, that with that above message, if I click 'Get Mail', or the link under that message to view the emails, there is nothing there

and i've done no changes since I last accessed, and can't seem to get my mail back :(

kurtbarker
05-30-2006, 07:12 AM
ok, it's come back, but it's tempremental... as far as I know theres nothing wrong with the email server...

it is a possible bug?

Hellcat
05-30-2006, 07:24 AM
I'm aware of that "-4" error - it's some kind of error/interuption during communication with the POP3 server.
I didn't find the exact cause for so far since - like you just saw - it comes and goes randomly....

sybarites
05-30-2006, 11:21 AM
Excellent has anyone made a VB advance module yet?

kurtbarker
05-30-2006, 11:27 AM
I'm aware of that "-4" error - it's some kind of error/interuption during communication with the POP3 server.
I didn't find the exact cause for so far since - like you just saw - it comes and goes randomly....

could it have anything to do with the timeout setting in wMail? with how busy the actual server is?

Hellcat
05-31-2006, 01:24 AM
Excellent has anyone made a VB advance module yet?
What would you like to have in there?

dreck
05-31-2006, 11:27 AM
What would you like to have in there?Maybe so users could see if they have mail or not from the home page? I might look into doing something like this.

Kurisu
06-01-2006, 10:40 AM
Hmm it seems I am the only one getting this error, right?

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

MySQL-Error : Duplicate entry '1' for key 1

This shows up when I try to access wmail.php.

redlabour
06-01-2006, 02:34 PM
Hi,

see Attachment. ;)

@Hellcat - i think it is ready to be added to the Package. ;)

sybarites
06-03-2006, 12:25 PM
Any news on the release date?

Guest210212002
06-03-2006, 01:10 PM
/me nominates this for HoTM.

sybarites
06-03-2006, 07:12 PM
How do I nominate?

MissKalunji
06-03-2006, 08:19 PM
right under report this modification u should see : nominiate....?

dreck
06-04-2006, 12:05 PM
<font color="SeaGreen">* /me nominates this for HoTM too.</font>

Ambie
06-04-2006, 01:03 PM
This is beautiful! I did have a problem with the SMTP though.When I was setting it up in my usercp, the Auth type wouldn't stay on login, so I went into the admin panel and chose that to override that area, and it works great now. Thank you for this!

TRR
06-05-2006, 08:01 AM
Umm, now there is another bug, I cant seem to delete e-mails in my inbox:confused: :confused:

I have this same issue. I can delete from within an email, but not using the checkboxes.

Hellcat
06-05-2006, 08:18 AM
Any news on the release date?
I'd really liked to have resolved the remaining two bugs.... But so far I have no clue of a possible cause :(
(The "-4" error and the failed attempt to mass-delete mails)

So I think I will put them on a "known issues" list.
Besides those two, that are not really "showstoppers" in sense of totally breaking ti app, it seems pretty stable now.

So, I will pack up a clean new export and post it as 1.00 final within the next days (maybe I get to it even tonight already).

I will continue hunting for the causes of those buggers while working on the new features.
This way it will advance at least :)


A big thanks to everyone for your support and patience :)


-Michael

Snake
06-05-2006, 04:05 PM
Wooho thanks for that good news buddy. ^_^

PixelFx
06-05-2006, 05:38 PM
This is pretty cool, could you possibly add support for multiple mail boxes to come into one users account controled by usergroups?

example I have about 8 mail servers. It would be nice to pull emails into one location :D

dreck
06-05-2006, 06:43 PM
This is pretty cool, could you possibly add support for multiple mail boxes to come into one users account controled by usergroups?

example I have about 8 mail servers. It would be nice to pull emails into one location :Dread the Planned featuresPlanned 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".

hawkan2580
06-05-2006, 11:52 PM
Beauty!!! Works like a charm for me, not a single issue found... I did find some things at first but after a simple re-install of the plug in with override.. it works without issues for me...

Thanks heaps, very nicely done!

Dennis B
06-06-2006, 12:38 AM
Hellcat,

I just saw 1.00 was released, congrats on a great hack. :D

Now a question, does this hack support SSL connections over port 995?

Thanks,

Hellcat
06-06-2006, 12:39 AM
Here comes the final :)
(I did not yet include the VBA module or the edited templaes posted in this thread - but I will definately put them into one of the next updates :))


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.