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-25-2003 09:55 PM

Quote:

Today at 05:57 AM Smoothie said this in Post #65
ok, installed new file. Working fine. Question about the attachments. I assume this will not show inline attachments. Sent a test message with a small image. The attachment shows in the email as a link, when clicked will not display, Get the red X, and sometimes when clicked, it wants to download the whole page.
Mmm... the attachment viewer is not working as well... the attachment works - an attached file is attached properly, and is sent properly. When you click to view it, something weird happens - you're right... I will look into it when I get home. Doesn't affect the functionality of the email functions though.

Erwin 03-25-2003 09:56 PM

Quote:

Today at 08:43 AM jbear6 said this in Post #71
Ahhh, the Doc is indeed a man of many hats :)
Installed, and working great! Could this be considered "low tech virus protection" because it is web based?

Thanks Again,
Jbear6

Virus protection... good idea. :) Good for removing spam before you download it onto your computer too.

Erwin 03-25-2003 09:58 PM

Quote:

Today at 10:43 AM amykhar said this in Post #80


Didn't touch the attachment field at all. Put in subject "test" and message "test" and hit send.

As you can see from my phpinfo , Imap is enabled and the version is 4.1.1.

Amy

Weird.

Like I said, doesn't happen to me.

Make sure you download the LATEST version of email.php - just in case.

The code is done so that if the attachment field is left blank, the whole attachment functions is not called. If this is called without an attachment, you get the error you are getting (I got the same error beta testing the code on my own forums). But I've fixed it.

Make sure you have the latest version. Since you are a coder, check your code - make sure the attachment functions are not called if the attachment field is empty.

Smoothie 03-25-2003 10:00 PM

When a user includes an email in their message to reply to, and you click it, you get;
The URL/email.php was not found on this server message.

Also, i noticed, one of your table bgcolor="{ tableheadtextcolor }"
PHP Code:

<table bgcolor=\"{ tableheadtextcolor }\" BORDER=0 cellpadding=0 cellspacing=0 width=100%>\n"

Which results in the message ..... From area displaying black, or whatever your tableheadtextcolor is set to.

Erwin 03-25-2003 10:21 PM

Quote:

Today at 11:00 AM Smoothie said this in Post #84
When a user includes an email in their message to reply to, and you click it, you get;
The URL/email.php was not found on this server message.

Also, i noticed, one of your table bgcolor="{ tableheadtextcolor }"
PHP Code:

<table bgcolor=\"{ tableheadtextcolor }\" BORDER=0 cellpadding=0 cellspacing=0 width=100%>\n"

Which results in the message ..... From area displaying black, or whatever your tableheadtextcolor is set to.

Fixed the color issue. :)

As for the directory path problem - make sure you are using the latest EMAIL.php with the $bburl fix. :) It works.

Smoothie 03-25-2003 10:29 PM

Erwin, I posted a message a few back about when logging in to a server which requires either a username@, or a pop-server.

This is appears in the from message:
admin@xxxx.com@mail.xxx.com or
username@pop-server.xxxx.com

amykhar 03-25-2003 10:46 PM

Fixed Erwin. Where you had if ($userfile) I had to put if ($userfile!="none")

That solved my problems. For some reason, the value of an empty userfile was coming through as none.

Amy

Erwin 03-25-2003 11:07 PM

Quote:

Today at 11:46 AM amykhar said this in Post #87
Fixed Erwin. Where you had if ($userfile) I had to put if ($userfile!="none")

That solved my problems. For some reason, the value of an empty userfile was coming through as none.

Amy


You were using my first uploaded email.php :) - I no longer use the "none" variable.

Erwin 03-25-2003 11:12 PM

Quote:

Today at 11:29 AM Smoothie said this in Post #86
Erwin, I posted a message a few back about when logging in to a server which requires either a username@, or a pop-server.

This is appears in the from message:
admin@xxxx.com@mail.xxx.com or
username@pop-server.xxxx.com

Mmm... just change the From: field to the real email address when replying or composing. :) That's why I made that field editable.

amykhar 03-25-2003 11:25 PM

Quote:

Today at 08:07 PM Erwin said this in Post #88



You were using my first uploaded email.php :) - I no longer use the "none" variable.

I downloaded it after you said you had updated it. The colors had been fixed, but I still had problems. I cleared my browser cache too. The weird thing is, I couldn't find the word none in the code.

No matter. It's fixed now and if anybody else runs into the same problem, a possible solution is documented. :)

Amy

Schorsch 03-25-2003 11:26 PM

Hi Erwin,

I get an error message :(

any advice ?

thanks,
Schorsch

Erwin 03-25-2003 11:30 PM

Weird, because the original email.php I used "none" as the default attachment value... then changed my mind. :)

Erwin 03-25-2003 11:32 PM

Quote:

Today at 12:26 PM Schorsch said this in Post #91
Hi Erwin,

I get an error message :(

any advice ?

thanks,
Schorsch


Wrong or unknown username, host server or password would do that.

wolfe 03-25-2003 11:57 PM

how do i view hotmail is it like this

Username: xxx
Server: hotmail.com
Password: xxx

is that right

amykhar 03-26-2003 12:29 AM

Hotmail isn't a POP3 server. It is a different format entirely and probably will not work with this script.

Erwin 03-26-2003 12:36 AM

I want to be able to check my HotMail account, what do I do?

With this hack, you can check your HotMail messages but you have to pay a fee to Hotmail in order to have access. HotMail offers POP access on a for-fee basis. This is something new and that I've just discovered (in the past this was not the case). If you have registered for this premium service, you should have received detailed information regarding server settings.

I want to be able to check my Yahoo Mail, what do I do?

Use the following information to setup your Yahoo account:

User name: <Your Yahoo user name (without the @yahoo.com part)
Mail (POP3) Server: pop.mail.yahoo.com
Password: <Your Yahoo Password>

amykhar 03-26-2003 01:05 AM

Pop3 is a paid service from yahoo.com now too.

Erwin 03-26-2003 01:16 AM

Really? Well, there you go... times have changed since I last used them... my apologies... my hack still works for both Hotmail and Yahoo... but you need POP access to them... sounds like you have to pay now... in the good old days it was all free...

user360 03-26-2003 02:13 AM

is there any template thing you could make for it , Like so I could add some text link or colors or anything great hack by the way!

msimplay 03-26-2003 02:22 AM

just wondering in outlook i can still get my hotmail free

Erwin 03-26-2003 02:58 AM

If so, what you do msimplay, is to get the settings from Outlook Express, and try it with this hack.

Erwin 03-26-2003 03:00 AM

Quote:

Today at 03:13 PM user360 said this in Post #99
is there any template thing you could make for it , Like so I could add some text link or colors or anything great hack by the way!

I purposely made this hack non-template based to make it easy to install - just upload and use. So I won't be making a template-based version.

limey 03-26-2003 03:00 AM

how can you restrict this to certain usergroups? ie donators

Erwin 03-26-2003 04:35 AM

Quote:

Today at 04:00 PM limey said this in Post #103
how can you restrict this to certain usergroups? ie donators
Instructions on how to do this has always been in my first post. :) Read it carefully.

Smoothie 03-26-2003 04:47 AM

Quote:

Yesterday at 07:46 PM amykhar said this in Post #87
Fixed Erwin. Where you had if ($userfile) I had to put if ($userfile!="none")

That solved my problems. For some reason, the value of an empty userfile was coming through as none.

Amy

That fix worked for me. i just downloaded the latest file, and ($userfile) was still there. Changing it to ($userfile!="none") fixed the errors I was getting.

Smoothie 03-26-2003 05:05 AM

Quote:

Yesterday at 05:47 PM Boofo said this in Post #74



Smoothie, how did you get it working? ;)

Boofo, you get this working yet?

Erwin 03-26-2003 05:06 AM

Okay, I've updated the email.php file:

I now use this:

PHP Code:

    if (!$userfile$userfile="none";
    if (
$userfile!="none"Attach($userfile,$userfile_name); 

That would work for BOTH types of servers - those that parse the $userfile to "" and those that parse it to "none". :)

For those with the above problems, clear your browser cache, download and upload the new email.php file, and try it. Should work. :)

Boofo 03-26-2003 05:12 AM

Quote:

Today at 01:05 AM Smoothie said this in Post #106
Boofo, you get this working yet?
No. Apparently my ISP doesn't have IMAP installed. They are using 4.3.1 but must not be using the IMAP. All I get are the errors. Slynderdale said something about a way around that. Can you do that Erwin?

Slynderdale 03-26-2003 06:05 AM

fsocketopen can also be used to connect to a pop3 and IMAP server but theres no predfeined mail functions like with IMAP so you have to code the parts that connect to the server, get the mail, get the folders, parse the data, display the data, and abilities like delete, new and old mail and so on, and also to close the connection.

As you can see, using fsocket is alot more work but is more compatible with servers.

http://www.php.net/manual/en/function.fsockopen.php

Smoothie 03-26-2003 07:05 AM

When I add an attachment to an outgoing message, with text in the message body, when it arrives, the text is not in the email, just the attachment. If I send just text, it's fine.

Courage 03-26-2003 09:34 AM

Ok, I copied email.php
http://www.softnews.ro/forum/email.php

I'm using vBulletin 2.2.8. The hack is working, but not very good. i cannot conect to any pop3 or imap mail server !

I get "Array" to username :(

See the atachment plz

Erwin 03-26-2003 10:37 AM

Quote:

Today at 08:05 PM Smoothie said this in Post #110
When I add an attachment to an outgoing message, with text in the message body, when it arrives, the text is not in the email, just the attachment. If I send just text, it's fine.
You get that error when you use the "none" method.

Download and upload the latest email.php - that should fix this problem.

Erwin 03-26-2003 10:38 AM

Quote:

Today at 10:34 PM Courage said this in Post #111
Ok, I copied email.php
http://www.softnews.ro/forum/email.php

I'm using vBulletin 2.2.8. The hack is working, but not very good. i cannot conect to any pop3 or imap mail server !

I get "Array" to username :(

See the atachment plz


Make sure you have IMAP compiled with your PHP.

auz1111 03-26-2003 01:37 PM

great hack! Can't wait to get future versions! Pressing Install NOW! :)

auz1111 03-26-2003 01:59 PM

Is there anyway a help guide can be added...maybe just a one page link that describes to users that they can add the username and host server address to their profile fields and also describe them to people who have no idea what they are?

alkatraz 03-26-2003 02:17 PM

downloaded the latest version and
it works like a charm! thanks!

alkatraz 03-26-2003 02:23 PM

just did the Add-on and it works great!

Smoothie 03-26-2003 05:14 PM

Quote:

Today at 07:37 AM Erwin said this in Post #112


You get that error when you use the "none" method.

Download and upload the latest email.php - that should fix this problem.

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.

Courage 03-26-2003 05:14 PM

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)

Smoothie 03-26-2003 05:30 PM

just tested again, not working.


All times are GMT. The time now is 06:06 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.01709 seconds
  • Memory Usage 1,840KB
  • 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
  • (3)bbcode_php_printable
  • (16)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