vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB POP3 / IMAP Email Client 1.4 - Web-based access to POP email accounts (https://vborg.vbsupport.ru/showthread.php?t=50783)

Erwin 03-26-2003 10:17 PM

Quote:

Today at 06:14 AM Smoothie said this in Post #118
I have the latest email.php. It isn't any error I see, but the attachment only shows (the link). iIf text is included in the message, it doesn't show. When no attachment is included, the text in the message shows fine.
Fixed this. :) Mistake my part.

Updates

Version 1.1 - Fixed <td> errors. Fixed error where message did not show when attachment present.

Download and upload the latest version of email.php (make sure you clear your browser cache).

After downloading the latest email.php, make sure the top of the file says Version 1.1

Erwin 03-26-2003 10:21 PM

Quote:

Today at 06:14 AM Courage said this in Post #119
I have IMAP.

My phpinfo.php say:

--with-imap-ssl=/tmp/pine4.44/imap/c-client' '--with-imap=/tmp/pine4.44/imap/c-client'

So.. why doesnt work ?

I cannot login to any pop3 server. I tried 3 or 4 accounts (pop3 and/or IMAP)

I have no explanation. As you can see, it works with the majority of servers. Some servers may not be set up properly, or this hack may interfere with another hack you've got - who knows.

msimplay 03-26-2003 11:10 PM

works excellent for me i love it Thank u extremely very much Erwin :D

NuclioN 03-26-2003 11:24 PM

Our provider will not install imap for what reason we don't know. I hope that the 'workaround' from slynderdale can be made for this. ;)

Erwin 03-26-2003 11:26 PM

Important Security Update

Version 1.2

Previous versions allowed users to simply change their FROM: email address at anytime. This can create problems with users using your forums to send anonymous emails to others.

In the latest version 1.2, I have added settings at the top of the PHP file that you can change to allow or disallow users from changing their FROM: email address.

You can exempt yourself and always be able to change your own FROM: email address by modifying the userid here as well.

The default setting is NO (users cannot change their FROM: email addresses). The default userid exempted is 1. You can change these settings at the top of the email.php file.

Please download the latest version now, and upload it. That's all you need to do to upgrade. :) Make sure the top of the newest PHP file says version 1.2.

Smoothie 03-26-2003 11:28 PM

Quote:

Today at 07:17 PM Erwin said this in Post #121


Fixed this. :) Mistake my part.

Updates

Version 1.1 - Fixed <td> errors. Fixed error where message did not show when attachment present.

Download and upload the latest version of email.php (make sure you clear your browser cache).

After downloading the latest email.php, make sure the top of the file says Version 1.1

Is working fine now, except for the attachment. The text in the message body appears, along with the attachment link. When clicking on the link, I get a blank page, with a red x thru the image. Not sure why. It is a small .gif file

Erwin 03-26-2003 11:30 PM

The attachment viewer has a strange bug that I will need to fix when I have time to do it. In the meantime, this hack works 100% - just the attachment viewer is defective... not sure why, but I'm at work now, and don't have time to fix it yet. :)

auz1111 03-27-2003 12:32 AM

$errormessage .= "<font color=\"{timecolor}\">";

how could i hard code the color here?

Erwin 03-27-2003 12:38 AM

All colors are based on your forum's style colors. None of the color is hard coded in my hack. Do you actually want to hardcode colors?

auz1111 03-27-2003 01:07 AM

i don't really want to, but when i look at the email headers i can't read them. I tried to change the replacement code for the forum colors but it did not work. I thought I could just hardcode it. Is it possible? thanks

Grunt 03-27-2003 03:58 AM

wow..this now tops the list as my favorite hack :) :)

one question however..I'm not planning on using the 'Member Profile' add-on...i would however like to remove the server field, and force it to always use mail.whatever.com. do-able?

Smoothie 03-27-2003 04:30 AM

Quote:

Yesterday at 08:30 PM Erwin said this in Post #127
The attachment viewer has a strange bug that I will need to fix when I have time to do it. In the meantime, this hack works 100% - just the attachment viewer is defective... not sure why, but I'm at work now, and don't have time to fix it yet. :)
All your work is appreciated...

attroll 03-27-2003 04:37 AM

Yes this is an awesome hack. The best I have seen so far. One that has long been wanted. Thank You!

I have it working on my site with no problems now. But when I type in the user name and server and password then click Login.

It puts my footer on the top of my page and my header under the following message saying:

HTTP/1.1 200 OK Date: Thu, 27 Mar 2003 06:25:03 GMT Server: Apache/1.3.26 (Unix) mod_log_bytes/1.0 mod_bwlimited/1.0 PHP/4.2.3 FrontPage/5.0.2.2510 mod_ssl/2.8.10 OpenSSL/0.9.6b X-Powered-By: PHP/4.2.3 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Length: 4981 Keep-Alive: timeout=15, max=98 Connection: Keep-Alive Content-Type: text/html

Is this something that is suppose to be displayed or is there a way I can get it to stop displaying. Everything work but this texted being displayed is annoying. It does go away after it finishes logging in.

I don't know why it is putting my header under my footer either. It does not do this all the time????

Smoothie 03-27-2003 04:38 AM

Question, would it be possible to have the extra @yourdomain stripped from the from field email if your server requires you to login with username@yourdomain? The reason being, if the newest version won't allow users to change the from field, the receiver of the email will get from: yourname@xx.com@yourname.xx.com

Areku 03-27-2003 07:11 AM

Awesome!

/me installs!

Erwin 03-27-2003 07:58 AM

Quote:

Today at 02:07 PM auz1111 said this in Post #130
i don't really want to, but when i look at the email headers i can't read them. I tried to change the replacement code for the forum colors but it did not work. I thought I could just hardcode it. Is it possible? thanks
Fixed this. :) Download the latest email.php version 1.3

Erwin 03-27-2003 07:59 AM

Quote:

Today at 12:28 PM Smoothie said this in Post #126

Is working fine now, except for the attachment. The text in the message body appears, along with the attachment link. When clicking on the link, I get a blank page, with a red x thru the image. Not sure why. It is a small .gif file


Fixed this. Download version 1.3. :)

Erwin 03-27-2003 08:01 AM

Update: Version 1.3 - Fixed Attachment Viewer and Downloader & Fixed Header Text Color

I've finally fixed the Attachment Viewer and Downloader... whew! Took some branstorming. Also, I've fixed up some minor cosmetic defects, with the header text colors, table widths etc.

Just download the latest email.php and upload it. Make sure you clear your browser cache - it should say Version 1.3 when you look in the PHP file.

Enjoy. :)

Erwin 03-27-2003 08:03 AM

Quote:

Today at 05:38 PM Smoothie said this in Post #134
Question, would it be possible to have the extra @yourdomain stripped from the from field email if your server requires you to login with username@yourdomain? The reason being, if the newest version won't allow users to change the from field, the receiver of the email will get from: yourname@xx.com@yourname.xx.com
In the latest version, you can switch the ability to change the FROM field on or off at the top of the PHP file. I may or may not find the time to strip the extra domain bits - the reason is that I don't have an email account to test with, you see, so I would never know if it works or not.

bandersen 03-27-2003 08:28 AM

You do great work - I think I may need to change server... to someone that include IMAP!

partang2 03-27-2003 08:58 AM

Sometimes when I executes email.php I get this at the bottom at the page:

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber7" backg

When I reloads the page after that, I see only the contents of the email.php file on the screen...

What can it be? I have the latest version who works sending mail etc most of the time...

auz1111 03-27-2003 11:47 AM

That's perfect Erwin! Keep improving it. I am loving this one. thanks!

Smoothie 03-27-2003 01:51 PM

Quote:

Today at 05:03 AM Erwin said this in Post #139


In the latest version, you can switch the ability to change the FROM field on or off at the top of the PHP file. I may or may not find the time to strip the extra domain bits - the reason is that I don't have an email account to test with, you see, so I would never know if it works or not.

I would be more than happy to test this for you. Great work BTW!

Grunt 03-27-2003 01:55 PM

erwin i would be more than happy to set you up with an email account that you can use for all eternity if you'd like..pm me if you're interested

no answers to post#131 anybody?

Smoothie 03-27-2003 02:06 PM

Quote:

Today at 05:03 AM Erwin said this in Post #139


In the latest version, you can switch the ability to change the FROM field on or off at the top of the PHP file. I may or may not find the time to strip the extra domain bits - the reason is that I don't have an email account to test with, you see, so I would never know if it works or not.

Hmmm, if I leave it set to not allow users to change the from field, I get this in the from field:
Apache <apache@ensim.rackshack.net>

msimplay 03-27-2003 02:39 PM

just realised can't attach more then one attachment at a time

Areku 03-27-2003 03:31 PM

Erwin,

Don't you capture errors to a standard error screen?

I downloaded new mail while still loged in via email.php and then i get a nasty "Warning: Bad message number in /usr/.../email.php on line 279
" error...

Good work anyway!

Up and working on VB2.2.0

base 03-27-2003 05:00 PM

ok, this is working very well erwin, and i thank you for your time on this hack! :D

one little thing though - when i log in to an email account via this script and view an inbox, it displays two of everything - an exact copy of everything appears below the main page. i have read through the thread a few times, and have been following the updates aswell, but haven't seen anyone mention this. i'm wondering if it's just me that's getting this hehe

any ideas on why it's returning two of everything? it doesn;t happen on the login screen part, just on all the pages when logged in to an account.

i'm using v1.3 now, but it was happening when i used v1.1 aswell. also happens on different accounts from different servers and domain names.

thanks for your help, and keep up the good work :)

attroll 03-27-2003 05:06 PM

Ok. I got it working fine now. At least for the present time. It must have been a glitch on the web last night. Because I did not change anything but it is working fine this morning.

Erwin 03-27-2003 06:34 PM

Quote:

Yesterday at 04:58 PM Gruntie said this in Post #131
wow..this now tops the list as my favorite hack :) :)

one question however..I'm not planning on using the 'Member Profile' add-on...i would however like to remove the server field, and force it to always use mail.whatever.com. do-able?

Easily done.

Open email.php, find:

PHP Code:

        $errormessage .= "<tr><td align=right><normalfont>Server: </normalfont></td><td><input TYPE=text NAME=host value='$host'></td></tr>\n"

REPLACE with:

PHP Code:

                                $host "mail.yourserver.com";
        
$errormessage .= "<tr><td align=right><normalfont>Server: </normalfont></td><td><normalfont><b>$host</b></normalfont></td></tr>\n"

And change the variable "mail.yourserver.com" to your own mail server.

Done.

The other questions by other people - I will have to deal with them later... gotta go to university now. :)

Most of them, like the double output, I cannot explain to be honest, but I will try to look into it.

And @ gruntie - go ahead and set me an account, and email me the details, and I will go and start testing it out.

Lethal 03-28-2003 04:00 AM

Can you access a hotmail or yahoo account?

attroll 03-28-2003 04:46 AM

No you can not access Hotmail or Yahoo. You believe you can access Yahoo mail if you signed up for the paid email services.

Erwin 03-28-2003 04:53 AM

Quote:

Today at 05:00 PM Lethal said this in Post #151
Can you access a hotmail or yahoo account?
Read this thread.

Lethal 03-28-2003 04:55 AM

Quote:

Sick of Hotmail and free web-based email addresses, and want to just stick with your ISP email account?
I see, not what I was thinking then sorry erwin.

Just might install it anyway.

Lethal 03-28-2003 04:56 AM

well upload it anyway lol

Erwin 03-28-2003 04:58 AM

It WILL work for Hotmail or Yahoo accounts if you pay them for a premium POP mail account. :) Not the free ones though - in the past they worked, but they've started charging for POP access.

Lethal 03-29-2003 12:35 AM

I get this when I try to login:

Fatal error: Call to undefined function: imap_open() in /htdocs/www/forums/email.php on line 614

Erwin 03-29-2003 12:42 AM

Before posting, please read the FIRST post.

I've already stated why people get this error. Your server does not have IMAP compiled with PHP.

limey 03-29-2003 01:48 PM

Uploaded new version and can't read mail. I get blank pages and the newer mail is stuck on the meta refresh. I can compose and delete email.

Buddha 03-29-2003 05:30 PM

hey doc. how can i change the

Quote:

- by Dr. Erwin Loh
so that it links to your site (that is, if you are interested). in my opinion, it's the least i can do for all the great hacks you've created.


All times are GMT. The time now is 08:58 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01464 seconds
  • Memory Usage 1,837KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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