ptonev.com
November 20, 2017, 07:11:41 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 ... 5 6 [7] 8 9
91  Products and Projects / php Mail Notification / Could Not open Stream on: September 21, 2004, 06:18:06 pm
Hi, Nathan.

> Also, if I have my mail sorted into IMAP folders, will this script return
> the number of new messages just in the root of the mailbox, or a
> total of all new emails?

Yes, script return only new mail in INBOX. If you want to check and other folder you must change script.

> I am getting the following error when I run my code:
> Warning: Couldn't open stream {:110/pop3/notls}INBOX
> in /var/www/mailNotify/phpIMAPMailNotification.php on line 127 Can't check @ account.

No, I don't have none ideas, but can suggest you to try to connect with telnet into mail.youdomain.com server.

type this in command prompt:
Code:
telnet <-
open mail.blahblah.com 110 <-
USER <user_name> <-
PASS <password> <-
xxx
LIST <-
yyy
QUIT <-


<- is enter key, xxx is information that mail server print, yyy is other information that mail server print

If this test don't pass that you have some problem with mail server and you must ask you ISP/HOSTING for that is possible to connect to POP3 on mail.youdomain.com server.

That is, best regards.
92  Общи теми / Въпроси, коментари и предложения / Правила във форума on: September 17, 2004, 11:58:22 pm
Спам, рекламни съобщения и потребители без написано нито едно
съобщение, ще бъдат изтривани незабавно без предупреждение.


Ако търсиш рекламна площадка, винаги може да поговорим, но форума не е място за това.

С уважение,
Петьо Тонев
93  Common Topics / Questions, Comments and Suggestions / Forum rights on: September 17, 2004, 11:51:49 pm
Spam, advertisement messages and users without one
posting will be deleted immediately without warning.


If you want advertisement place we always can talk about it, but forum is not place for this.

Best regards,
Petio Tonev
94  Products and Projects / php Mail Notification / number of e-mails on: September 03, 2004, 11:01:17 pm
Hi,

I thing that you have problem on mail.blahblah.com server.

I test script that:

1. script is on ptonev.xxx.xxxx.com
2. i check account that is on mail.yyy.com

and all work fine.

Try to connect with telnet into mail.blahblah.com server.

type this in command prompt:
Code:
telnet <-
open mail.blahblah.com 110 <-
USER <user_name> <-
PASS <password> <-
xxx
LIST <-
yyy
QUIT <-


 <- is enter key, xxx is information that mail server print, yyy is other information that mail server print

If this test don't pass that you have some problem with mail server and you must ask you ISP/HOSTING for that is possible to connect to POP3 on mail.blahblah.com server.

That is, best regards,
95  Products and Projects / php Mail Notification / number of e-mails on: August 31, 2004, 01:05:02 am
Hi,

If I can understand you right, you say that you can't check POP3 email with different from mail.domain.com format.

But you can use IP instead domain name, and must can open all email servers that have POP3 and it is allowed to access.

If I don't understand you right, write me again and descript problem simply.

Best regards,
96  Products and Projects / php Mail Notification / number of e-mails on: August 30, 2004, 06:32:25 pm
Hi, andrew.

I happy that can help you.
97  Products and Projects / php Mail Notification / number of e-mails on: August 29, 2004, 12:00:21 pm
> hello, your english is a little unclear, thanks anyway.

Yes, that is. English is not my mother language.

> ... Call to undefined function: imap_open() ...

This mean that you don't have installed IMAP functions on you hosting.

Try this code that use socket to connect to POP3.

Code:
function checkEMail($host, $port, $user, $pass)
{
$fp = fsockopen($host, $port, $errno, $errstr);

if(!$fp)
{
// could not open socket connection
$r = false;
}
else
{
$res = fgets($fp, 200);

if(substr($res, 0, 3) == "+OK")
{
fputs($fp, "USER $user\n");
fgets($fp, 200);

  fputs($fp, "PASS $pass\n");
$res = fgets($fp, 200);

if(substr($res, 0, 3) == "+OK")
{
  fputs($fp, "STAT\n");
$res = fgets($fp, 200);

if(substr($res, 0, 3) == "+OK")
{
$res = explode(" ", $res);
$r = $res[1];
}
else
{
$r = false;
}
}
else
{
$r = false;
}
}
else
{
$r = false;
}

fputs($fp, "QUIT\n");
fclose($fp);
}

return $r;
}
98  Products and Projects / php Mail Notification / number of e-mails on: August 29, 2004, 07:40:02 am
Hi, Andrew.

If you have IMAP function you can use this code:

Code:
function checkEMail($host, $port, $user, $pass)
{
// open mailbox
$mbox = imap_open("{".$host.":".$port."/pop3/notls}INBOX", "$user", "$pass");

if($mbox === false)
{
return false;
}

// get emial count
$r = imap_num_msg($mbox);

// close mailbox
imap_close($mbox);

return $r;
}


but of you can't use IMAP you must how I make this on my other script.
Write me if you can't extract code from phpMailNotification.
99  Products and Projects / php Mail Notification / I don't get this on: August 27, 2004, 07:19:50 am
Quote
it is not "./notifier/"
but still no message :(

Strange, it is a very strange.

If you have IMAP mod you can try new script phpIMAPMailNotify:

http://www.ptonev.com/project.php?lang=en&id=phpImapMailNotify

This is same as phpMailNotify but use IMAP to connect to POP3.
100  Products and Projects / php Mail Notification / I don't get this on: August 25, 2004, 09:24:41 pm
Try to change MNOTIFY_CFG_PATH to "./notifier/".
If you set it on "/notifier/" that script look at root folder on server.
101  Products and Projects / php Mail Notification / I don't get this on: August 25, 2004, 10:00:42 am
Hi,

In phpMailNotification.php have line:

define("MNOTIFY_CFG_PATH",      "./");

It must be change and replace "./" with path to folder where is your phpMailNotification.cfg file.

Run phpMailNotification.php and look that it return. Script say someting if have error or if all is right.

And last, check values in phpMailNotification.cfg file. For help look at txt file in package.
102  Products and Projects / Image Scroller / imgScroller version 1.0.5.0 is released. on: July 20, 2004, 06:15:52 pm
Hi,

You can stop autmomatically scrolling if you set stepx and stepy on zero:

Code:
<param name="stepx" value="0">
<param name="stepy" value="0">


That you can scroll image only with mouse.
103  Продукти и проекти / Stores '96 SP / Има ли help складовата програма? on: July 14, 2004, 02:14:38 am
За съжаление Stores '96 SP няма Help система и няма и да има.
104  Products and Projects / Image Scroller / imgScroller version 1.0.5.0 is released. on: June 25, 2004, 08:43:23 am
Added possibility to defind multi map of links (URL) that open URL's in target browser.
105  Products and Projects / Phantom User Miranda Protocol / то что искал! on: June 22, 2004, 06:33:25 pm
Quote
хорошо бы добавить все пункты нормальных контактов
адрес , дни рождения...


Translate:
Will be fine if You adding all normal properties on contact as address, birhtday and etc.

I will be think about this, but normal properties for one is one thing but for other is other thing.
Pages: 1 ... 5 6 [7] 8 9
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!